pivot.wtk.skin
Class RollupSkin

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

public abstract class RollupSkin
extends ContainerSkin
implements RollupListener, RollupStateListener

Abstract base class for rollup skins.

Author:
tvolkert

Nested Class Summary
 
Nested classes/interfaces inherited from class pivot.wtk.skin.ContainerSkin
ContainerSkin.IndexFocusTraversalPolicy
 
Nested classes/interfaces inherited from interface pivot.wtk.RollupStateListener
RollupStateListener.Adapter
 
Nested classes/interfaces inherited from interface pivot.wtk.ComponentListener
ComponentListener.Adapter
 
Nested classes/interfaces inherited from interface pivot.wtk.ComponentStateListener
ComponentStateListener.Adapter
 
Nested classes/interfaces inherited from interface pivot.wtk.ComponentMouseListener
ComponentMouseListener.Adapter
 
Nested classes/interfaces inherited from interface pivot.wtk.ComponentMouseButtonListener
ComponentMouseButtonListener.Adapter
 
Nested classes/interfaces inherited from interface pivot.wtk.ComponentKeyListener
ComponentKeyListener.Adapter
 
Field Summary
 
Fields inherited from class pivot.wtk.skin.ComponentSkin
SHOW_TOOLTIP_TIMEOUT
 
Constructor Summary
RollupSkin()
           
 
Method Summary
 void contentChanged(Rollup rollup, Component previousContent)
          Called when a rollup's content component changed.
 void expandedChanged(Rollup rollup)
          Called when a rollup's expanded state changed.
 void expandedChangeVetoed(Rollup rollup, Vote reason)
          Called when a rollup expansion event has been vetoed.
 void headingChanged(Rollup rollup, Component previousHeading)
          Called when a rollup's heading component changed.
 void install(Component component)
          Associates a skin with a component.
 Vote previewExpandedChange(Rollup rollup)
          Called to preview a rollup expansion event.
 void uninstall()
          Dissociates a skin from a component.
 
Methods inherited from class pivot.wtk.skin.ContainerSkin
componentInserted, componentsRemoved, contextKeyChanged, focusTraversalPolicyChanged, getBackgroundColor, getBackgroundPaint, getPreferredHeight, getPreferredWidth, isFocusable, isOpaque, paint, setBackgroundColor, setBackgroundColor, setBackgroundPaint, setBackgroundPaint
 
Methods inherited from class pivot.wtk.skin.ComponentSkin
cursorChanged, displayableChanged, enabledChanged, focusedChanged, getComponent, getHeight, getPreferredSize, getWidth, invalidateComponent, keyPressed, keyReleased, keyTyped, locationChanged, mouseClick, mouseDown, mouseMove, mouseOut, mouseOver, mouseUp, mouseWheel, parentChanged, preferredSizeChanged, repaintComponent, repaintComponent, repaintComponent, repaintComponent, setSize, sizeChanged, styleUpdated, tooltipTextChanged, visibleChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface 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.

uninstall

public void uninstall()
Description copied from interface: Skin
Dissociates a skin from a component.

Specified by:
uninstall in interface Skin
Overrides:
uninstall in class ContainerSkin

headingChanged

public void headingChanged(Rollup rollup,
                           Component previousHeading)
Description copied from interface: RollupListener
Called when a rollup's heading component changed.

Specified by:
headingChanged in interface RollupListener

contentChanged

public void contentChanged(Rollup rollup,
                           Component previousContent)
Description copied from interface: RollupListener
Called when a rollup's content component changed.

Specified by:
contentChanged in interface RollupListener

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

expandedChanged

public void expandedChanged(Rollup rollup)
Description copied from interface: RollupStateListener
Called when a rollup's expanded state changed.

Specified by:
expandedChanged in interface RollupStateListener