Package org.apache.pivot.wtk.skin.terra
Class TerraSpinnerSkin.SpinButtonImage
- java.lang.Object
 - 
- org.apache.pivot.wtk.media.Image
 - 
- 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.LoadTask 
 - 
 
- 
Field Summary
- 
Fields inherited from class org.apache.pivot.wtk.media.Image
imageListeners 
 - 
 
- 
Constructor Summary
Constructors Modifier Constructor Description protectedSpinButtonImage() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetHeight()Returns the visual's height.intgetWidth()Returns the visual's width.voidpaint(java.awt.Graphics2D graphics)Paints the visual.- 
Methods inherited from class org.apache.pivot.wtk.media.Image
getBaseline, getImageListeners, load, load, loadFromCache, toString, update 
 - 
 
 - 
 
- 
- 
Method Detail
- 
getWidth
public int getWidth()
Description copied from interface:VisualReturns the visual's width.- Returns:
 - Current width of this visual.
 
 
- 
getHeight
public int getHeight()
Description copied from interface:VisualReturns the visual's height.- Returns:
 - Current height of this visual.
 
 
- 
paint
public void paint(java.awt.Graphics2D graphics)
Description copied from interface:VisualPaints the visual.- Parameters:
 graphics- The graphics context in which to paint the visual.
 
 - 
 
 -