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

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.TerraTooltipSkin
All Implemented Interfaces:
org.apache.pivot.wtk.ComponentKeyListener, org.apache.pivot.wtk.ComponentListener, org.apache.pivot.wtk.ComponentMouseButtonListener, org.apache.pivot.wtk.ComponentMouseListener, org.apache.pivot.wtk.ComponentMouseWheelListener, org.apache.pivot.wtk.ComponentStateListener, org.apache.pivot.wtk.ComponentTooltipListener, org.apache.pivot.wtk.ConstrainedVisual, org.apache.pivot.wtk.ContainerListener, org.apache.pivot.wtk.ContainerMouseListener, org.apache.pivot.wtk.Skin, org.apache.pivot.wtk.Visual, org.apache.pivot.wtk.Window.Skin, org.apache.pivot.wtk.WindowListener, org.apache.pivot.wtk.WindowStateListener

public class TerraTooltipSkin
extends org.apache.pivot.wtk.skin.WindowSkin

Tooltip skin.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.pivot.wtk.skin.WindowSkin
org.apache.pivot.wtk.skin.WindowSkin.WindowFocusTraversalPolicy
 
Nested classes/interfaces inherited from class org.apache.pivot.wtk.skin.ContainerSkin
org.apache.pivot.wtk.skin.ContainerSkin.IndexFocusTraversalPolicy
 
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.WindowListener
org.apache.pivot.wtk.WindowListener.Adapter
 
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.WindowStateListener
org.apache.pivot.wtk.WindowStateListener.Adapter
 
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.ContainerListener
org.apache.pivot.wtk.ContainerListener.Adapter
 
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.ContainerMouseListener
org.apache.pivot.wtk.ContainerMouseListener.Adapter
 
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.ComponentListener
org.apache.pivot.wtk.ComponentListener.Adapter
 
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.ComponentStateListener
org.apache.pivot.wtk.ComponentStateListener.Adapter
 
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.ComponentMouseListener
org.apache.pivot.wtk.ComponentMouseListener.Adapter
 
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.ComponentMouseButtonListener
org.apache.pivot.wtk.ComponentMouseButtonListener.Adapter
 
Nested classes/interfaces inherited from interface org.apache.pivot.wtk.ComponentKeyListener
org.apache.pivot.wtk.ComponentKeyListener.Adapter
 
Constructor Summary
TerraTooltipSkin()
           
 
Method Summary
 int getCloseTransitionDuration()
           
 int getCloseTransitionRate()
           
 int getPreferredHeight(int width)
           
 org.apache.pivot.wtk.Dimensions getPreferredSize()
           
 int getPreferredWidth(int height)
           
 void install(org.apache.pivot.wtk.Component component)
           
 void layout()
           
 void paint(Graphics2D graphics)
           
 org.apache.pivot.util.Vote previewWindowClose(org.apache.pivot.wtk.Window window)
           
 void setCloseTransitionDuration(int closeTransitionDuration)
           
 void setCloseTransitionRate(int closeTransitionRate)
           
 void windowClosed(org.apache.pivot.wtk.Window window, org.apache.pivot.wtk.Display display, org.apache.pivot.wtk.Window owner)
           
 void windowCloseVetoed(org.apache.pivot.wtk.Window window, org.apache.pivot.util.Vote reason)
           
 void windowOpened(org.apache.pivot.wtk.Window window)
           
 
Methods inherited from class org.apache.pivot.wtk.skin.WindowSkin
activeChanged, contentChanged, getClientArea, iconAdded, iconInserted, iconsRemoved, maximizedChanged, mouseDown, previewWindowOpen, titleChanged, windowOpenVetoed
 
Methods inherited from class org.apache.pivot.wtk.skin.ContainerSkin
componentInserted, componentMoved, componentsRemoved, focusTraversalPolicyChanged, getBackgroundColor, getBackgroundPaint, isFocusable, isOpaque, mouseMove, mouseUp, mouseWheel, 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, 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.Skin
getComponent, isFocusable, isOpaque
 
Methods inherited from interface org.apache.pivot.wtk.ConstrainedVisual
getBaseline, setSize
 
Methods inherited from interface org.apache.pivot.wtk.Visual
getBaseline, getHeight, getWidth
 

Constructor Detail

TerraTooltipSkin

public TerraTooltipSkin()
Method Detail

install

public void install(org.apache.pivot.wtk.Component component)
Specified by:
install in interface org.apache.pivot.wtk.Skin
Overrides:
install in class org.apache.pivot.wtk.skin.WindowSkin

getPreferredWidth

public int getPreferredWidth(int height)
Specified by:
getPreferredWidth in interface org.apache.pivot.wtk.ConstrainedVisual
Overrides:
getPreferredWidth in class org.apache.pivot.wtk.skin.WindowSkin

getPreferredHeight

public int getPreferredHeight(int width)
Specified by:
getPreferredHeight in interface org.apache.pivot.wtk.ConstrainedVisual
Overrides:
getPreferredHeight in class org.apache.pivot.wtk.skin.WindowSkin

getPreferredSize

public org.apache.pivot.wtk.Dimensions getPreferredSize()
Specified by:
getPreferredSize in interface org.apache.pivot.wtk.ConstrainedVisual
Overrides:
getPreferredSize in class org.apache.pivot.wtk.skin.WindowSkin

layout

public void layout()
Specified by:
layout in interface org.apache.pivot.wtk.Skin
Overrides:
layout in class org.apache.pivot.wtk.skin.WindowSkin

paint

public void paint(Graphics2D graphics)
Specified by:
paint in interface org.apache.pivot.wtk.Visual
Overrides:
paint in class org.apache.pivot.wtk.skin.ContainerSkin

getCloseTransitionDuration

public int getCloseTransitionDuration()

setCloseTransitionDuration

public void setCloseTransitionDuration(int closeTransitionDuration)

getCloseTransitionRate

public int getCloseTransitionRate()

setCloseTransitionRate

public void setCloseTransitionRate(int closeTransitionRate)

windowOpened

public void windowOpened(org.apache.pivot.wtk.Window window)
Specified by:
windowOpened in interface org.apache.pivot.wtk.WindowStateListener
Overrides:
windowOpened in class org.apache.pivot.wtk.skin.WindowSkin

previewWindowClose

public org.apache.pivot.util.Vote previewWindowClose(org.apache.pivot.wtk.Window window)
Specified by:
previewWindowClose in interface org.apache.pivot.wtk.WindowStateListener
Overrides:
previewWindowClose in class org.apache.pivot.wtk.skin.WindowSkin

windowCloseVetoed

public void windowCloseVetoed(org.apache.pivot.wtk.Window window,
                              org.apache.pivot.util.Vote reason)
Specified by:
windowCloseVetoed in interface org.apache.pivot.wtk.WindowStateListener
Overrides:
windowCloseVetoed in class org.apache.pivot.wtk.skin.WindowSkin

windowClosed

public void windowClosed(org.apache.pivot.wtk.Window window,
                         org.apache.pivot.wtk.Display display,
                         org.apache.pivot.wtk.Window owner)
Specified by:
windowClosed in interface org.apache.pivot.wtk.WindowStateListener
Overrides:
windowClosed in class org.apache.pivot.wtk.skin.WindowSkin