org.apache.pivot.wtk.skin.terra
Class TerraSpinnerSkin.SpinButtonImage

java.lang.Object
  extended by org.apache.pivot.wtk.media.Image
      extended by org.apache.pivot.wtk.skin.terra.TerraSpinnerSkin.SpinButtonImage
All Implemented Interfaces:
Visual
Direct Known Subclasses:
TerraSpinnerSkin.SpinDownImage, TerraSpinnerSkin.SpinUpImage
Enclosing class:
TerraSpinnerSkin

protected abstract class TerraSpinnerSkin.SpinButtonImage
extends Image

Abstract base class for button images.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.pivot.wtk.media.Image
Image.ImageListenerList, Image.LoadTask
 
Field Summary
 
Fields inherited from class org.apache.pivot.wtk.media.Image
imageListeners
 
Constructor Summary
protected TerraSpinnerSkin.SpinButtonImage()
           
 
Method Summary
 int getHeight()
          Returns the visual's height.
 int getWidth()
          Returns the visual's width.
 void paint(Graphics2D graphics)
          Paints the visual.
 
Methods inherited from class org.apache.pivot.wtk.media.Image
getBaseline, getImageListeners, getSize, load, load, loadFromCache, toString, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TerraSpinnerSkin.SpinButtonImage

protected TerraSpinnerSkin.SpinButtonImage()
Method Detail

getWidth

public int getWidth()
Description copied from interface: Visual
Returns the visual's width.


getHeight

public int getHeight()
Description copied from interface: Visual
Returns the visual's height.


paint

public void paint(Graphics2D graphics)
Description copied from interface: Visual
Paints the visual.

Parameters:
graphics - The graphics context in which to paint the visual.