org.apache.pivot.wtk.skin.terra
Class TerraPromptSkin

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.WindowSkin
              extended by org.apache.pivot.wtk.skin.terra.TerraSheetSkin
                  extended by org.apache.pivot.wtk.skin.terra.TerraPromptSkin
All Implemented Interfaces:
ComponentKeyListener, ComponentListener, ComponentMouseButtonListener, ComponentMouseListener, ComponentMouseWheelListener, ComponentStateListener, ConstrainedVisual, ContainerListener, PromptListener, SheetCloseListener, SheetStateListener, Skin, Visual, Window.Skin, WindowListener, WindowStateListener

public class TerraPromptSkin
extends TerraSheetSkin
implements PromptListener

Prompt skin.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.pivot.wtk.skin.terra.TerraSheetSkin
TerraSheetSkin.OpenTransition
 
Nested classes/interfaces inherited from class org.apache.pivot.wtk.skin.WindowSkin
WindowSkin.WindowFocusTraversalPolicy
 
Nested classes/interfaces inherited from class org.apache.pivot.wtk.skin.ContainerSkin
ContainerSkin.IndexFocusTraversalPolicy
 
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.SheetStateListener
SheetStateListener.Adapter
 
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.WindowListener
WindowListener.Adapter
 
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.WindowStateListener
WindowStateListener.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
 
Field Summary
 
Fields inherited from class org.apache.pivot.wtk.skin.ComponentSkin
SHOW_TOOLTIP_TIMEOUT
 
Constructor Summary
TerraPromptSkin()
           
 
Method Summary
 void install(Component component)
          Associates a skin with a component.
 void selectedOptionChanged(Prompt prompt, int previousSelectedOption)
          Called when an prompt's selected option has changed.
 void uninstall()
          Dissociates a skin from a component.
 void windowOpened(Window window)
          Called when a window has opened.
 
Methods inherited from class org.apache.pivot.wtk.skin.terra.TerraSheetSkin
alignToOwner, getBorderColor, getEasedPreferredHeight, getPadding, getPreferredHeight, getPreferredSize, getPreferredWidth, isResizable, keyPressed, layout, paint, previewSheetClose, setBackgroundColor, setBorderColor, setBorderColor, setPadding, setPadding, setPadding, setPadding, setPadding, setResizable, sheetClosed, sheetCloseVetoed, sizeChanged, windowClosed
 
Methods inherited from class org.apache.pivot.wtk.skin.WindowSkin
activeChanged, contentChanged, getClientArea, iconChanged, maximizedChanged, mouseDown, ownerChanged, previewWindowClose, previewWindowOpen, titleChanged, windowCloseVetoed, windowMoved, windowOpenVetoed
 
Methods inherited from class org.apache.pivot.wtk.skin.ContainerSkin
componentInserted, componentsRemoved, contextKeyChanged, focusTraversalPolicyChanged, getBackgroundColor, getBackgroundPaint, isFocusable, isOpaque, setBackgroundColor, setBackgroundPaint, setBackgroundPaint
 
Methods inherited from class org.apache.pivot.wtk.skin.ComponentSkin
cursorChanged, dragSourceChanged, dropTargetChanged, enabledChanged, focusedChanged, getComponent, getHeight, getWidth, invalidateComponent, keyReleased, keyTyped, locationChanged, menuHandlerChanged, mouseClick, mouseMove, mouseOut, mouseOver, mouseUp, mouseWheel, parentChanged, preferredHeightLimitsChanged, preferredSizeChanged, preferredWidthLimitsChanged, repaintComponent, repaintComponent, repaintComponent, repaintComponent, repaintComponent, setSize, 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 org.apache.pivot.wtk.Skin
getComponent, isFocusable, isOpaque
 
Methods inherited from interface org.apache.pivot.wtk.ConstrainedVisual
setSize
 
Methods inherited from interface org.apache.pivot.wtk.Visual
getHeight, getWidth
 

Constructor Detail

TerraPromptSkin

public TerraPromptSkin()
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 TerraSheetSkin
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 TerraSheetSkin

windowOpened

public void windowOpened(Window window)
Description copied from interface: WindowStateListener
Called when a window has opened.

Specified by:
windowOpened in interface WindowStateListener
Overrides:
windowOpened in class TerraSheetSkin

selectedOptionChanged

public void selectedOptionChanged(Prompt prompt,
                                  int previousSelectedOption)
Description copied from interface: PromptListener
Called when an prompt's selected option has changed.

Specified by:
selectedOptionChanged in interface PromptListener