org.apache.pivot.wtk.skin
Class RollupSkin

java.lang.Object
  extended by org.apache.pivot.wtk.skin.ComponentSkin
      extended by org.apache.pivot.wtk.skin.ContainerSkin
          extended by org.apache.pivot.wtk.skin.RollupSkin
All Implemented Interfaces:
ComponentKeyListener, ComponentListener, ComponentMouseButtonListener, ComponentMouseListener, ComponentMouseWheelListener, ComponentStateListener, ComponentTooltipListener, ConstrainedVisual, ContainerListener, ContainerMouseListener, RollupListener, RollupStateListener, Skin, Visual
Direct Known Subclasses:
TerraRollupSkin

public abstract class RollupSkin
extends ContainerSkin
implements RollupListener, RollupStateListener

Abstract base class for rollup skins.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.pivot.wtk.skin.ContainerSkin
ContainerSkin.IndexFocusTraversalPolicy
 
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.RollupListener
RollupListener.Adapter
 
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.RollupStateListener
RollupStateListener.Adapter
 
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.ContainerListener
ContainerListener.Adapter
 
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.ContainerMouseListener
ContainerMouseListener.Adapter
 
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.ComponentListener
ComponentListener.Adapter
 
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.ComponentStateListener
ComponentStateListener.Adapter
 
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.ComponentMouseListener
ComponentMouseListener.Adapter
 
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.ComponentMouseButtonListener
ComponentMouseButtonListener.Adapter
 
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.ComponentKeyListener
ComponentKeyListener.Adapter
 
Constructor Summary
RollupSkin()
           
 
Method Summary
 void expandedChangeVetoed(Rollup rollup, Vote reason)
          Called when a rollup expansion event has been vetoed.
 void install(Component component)
          Associates a skin with a component.
 Vote previewExpandedChange(Rollup rollup)
          Called to preview a rollup expansion event.
 
Methods inherited from class org.apache.pivot.wtk.skin.ContainerSkin
componentInserted, componentMoved, componentsRemoved, focusTraversalPolicyChanged, getBackgroundColor, getBackgroundPaint, getPreferredHeight, getPreferredWidth, isFocusable, isOpaque, mouseDown, mouseMove, mouseUp, mouseWheel, paint, setBackgroundColor, setBackgroundColor, setBackgroundPaint, setBackgroundPaint, setBackgroundPaint
 
Methods inherited from class org.apache.pivot.wtk.skin.ComponentSkin
cursorChanged, decodeFont, dragSourceChanged, dropTargetChanged, enabledChanged, focusedChanged, getBaseline, getBaseline, getComponent, getHeight, getPreferredSize, getWidth, heightLimitsChanged, invalidateComponent, keyPressed, keyReleased, keyTyped, locationChanged, menuHandlerChanged, mouseClick, mouseDown, mouseMove, mouseOut, mouseOver, mouseUp, mouseWheel, nameChanged, parentChanged, preferredSizeChanged, repaintComponent, repaintComponent, repaintComponent, repaintComponent, repaintComponent, setSize, sizeChanged, tooltipDelayChanged, tooltipTextChanged, tooltipTriggered, visibleChanged, widthLimitsChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.pivot.wtk.RollupListener
collapsibleChanged, contentChanged, headingChanged
 
Methods inherited from interface org.apache.pivot.wtk.RollupStateListener
expandedChanged
 
Methods inherited from interface org.apache.pivot.wtk.Skin
layout
 

Constructor Detail

RollupSkin

public RollupSkin()
Method Detail

install

public void install(Component component)
Description copied from interface: Skin
Associates a skin with a component.

Specified by:
install in interface Skin
Overrides:
install in class ContainerSkin
Parameters:
component - The component to which the skin is being attached.

previewExpandedChange

public Vote previewExpandedChange(Rollup rollup)
Description copied from interface: RollupStateListener
Called to preview a rollup expansion event.

Specified by:
previewExpandedChange in interface RollupStateListener

expandedChangeVetoed

public void expandedChangeVetoed(Rollup rollup,
                                 Vote reason)
Description copied from interface: RollupStateListener
Called when a rollup expansion event has been vetoed.

Specified by:
expandedChangeVetoed in interface RollupStateListener