pivot.wtk.content
Class MenuButtonDataRenderer

java.lang.Object
  extended by pivot.wtk.Component
      extended by pivot.wtk.Container
          extended by pivot.wtk.FlowPane
              extended by pivot.wtk.content.ButtonDataRenderer
                  extended by pivot.wtk.content.MenuButtonDataRenderer
All Implemented Interfaces:
Iterable<Component>, Sequence<Component>, Button.DataRenderer, ConstrainedVisual, Renderer, Visual

public class MenuButtonDataRenderer
extends ButtonDataRenderer

Default menu button data renderer.

Author:
gbrown

Nested Class Summary
 
Nested classes/interfaces inherited from class pivot.wtk.Component
Component.Attributes, Component.ComponentDictionary, Component.DecoratorSequence, Component.StyleDictionary, Component.UserDataDictionary
 
Nested classes/interfaces inherited from interface pivot.collections.Sequence
Sequence.Search, Sequence.Sort, Sequence.Tree
 
Field Summary
 
Fields inherited from class pivot.wtk.content.ButtonDataRenderer
imageView, label
 
Constructor Summary
MenuButtonDataRenderer()
           
 
Method Summary
 void render(Object data, Button button, boolean highlight)
           
 
Methods inherited from class pivot.wtk.content.ButtonDataRenderer
setSize
 
Methods inherited from class pivot.wtk.FlowPane
getFlowPaneListeners, getOrientation, setOrientation, setOrientation
 
Methods inherited from class pivot.wtk.Container
add, containsFocus, get, getComponentAt, getContainerListeners, getContainerMouseListeners, getContextKey, getDescendantAt, getFocusTraversalPolicy, getLength, indexOf, insert, isAncestor, isFocusable, iterator, load, mouseClick, mouseDown, mouseMove, mouseOut, mouseUp, mouseWheel, move, paint, remove, remove, removeAll, requestFocus, setContextKey, setEnabled, setFocusTraversalPolicy, setParent, setTooltip, setVisible, store, update, validate
 
Methods inherited from class pivot.wtk.Component
clearFocus, clearFocus, finalize, getAttributes, getBounds, getComponentClassListeners, getComponentDataListeners, getComponentDecoratorListeners, getComponentDragDropListeners, getComponentKeyListeners, getComponentLayoutListeners, getComponentListeners, getComponentMouseButtonListeners, getComponentMouseListeners, getComponentMouseWheelListeners, getComponents, getComponentStateListeners, getCursor, getDecoratedBounds, getDecorators, getDisplay, getDragSource, getDropTarget, getFocusedComponent, getGraphics, getHandle, getHeight, getLocation, getParent, getPreferredHeight, getPreferredHeight, getPreferredSize, getPreferredWidth, getPreferredWidth, getSize, getSkin, getStyles, getTooltipText, getUserData, getVisibleArea, getVisibleArea, getVisibleArea, getWidth, getWindow, getX, getY, installSkin, invalidate, isBlocked, isDisplayable, isEnabled, isFocused, isMouseOver, isOpaque, isPreferredHeightSet, isPreferredSizeSet, isPreferredWidthSet, isShowing, isValid, isVisible, keyPressed, keyReleased, keyTyped, load, mapPointFromAncestor, mapPointToAncestor, mouseOver, repaint, repaint, repaint, repaint, repaint, repaint, requestFocus, scrollAreaToVisible, scrollAreaToVisible, setAttributes, setCursor, setCursor, setDisplayable, setDragSource, setDropTarget, setFocused, setHeight, setLocation, setLocation, setPreferredHeight, setPreferredSize, setPreferredSize, setPreferredWidth, setSize, setSkin, setStyles, setStyles, setStyles, setTooltipText, setWidth, setX, setY, store, toString, transferFocus
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface pivot.wtk.Renderer
getStyles
 
Methods inherited from interface pivot.wtk.ConstrainedVisual
getPreferredHeight, getPreferredSize, getPreferredWidth
 
Methods inherited from interface pivot.wtk.Visual
getHeight, getWidth, paint
 

Constructor Detail

MenuButtonDataRenderer

public MenuButtonDataRenderer()
Method Detail

render

public void render(Object data,
                   Button button,
                   boolean highlight)
Specified by:
render in interface Button.DataRenderer
Overrides:
render in class ButtonDataRenderer