Package com.jidesoft.plaf.windows
Class XPStyle.Skin
- java.lang.Object
-
- com.jidesoft.plaf.windows.XPStyle.Skin
-
- Enclosing class:
- XPStyle
public static class XPStyle.Skin extends java.lang.ObjectA class which encapsulates attributes for a given part (component type) and which provides methods for painting backgrounds and glyphs
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)inthashCode()voidpaintSkin(java.awt.Graphics g, int dx, int dy, int dw, int dh, TMSchema.State state)Paint a skin at a defined position and size This method supports animation.voidpaintSkin(java.awt.Graphics g, int dx, int dy, int dw, int dh, TMSchema.State state, boolean borderFill)Paint a skin at a defined position and sizevoidpaintSkin(java.awt.Graphics g, int dx, int dy, TMSchema.State state)Paint a skin at x, y.voidpaintSkin(java.awt.Graphics g, java.awt.Rectangle r, TMSchema.State state)Paint a skin in an area defined by a rectangle.voidpaintSkinRaw(java.awt.Graphics g, int dx, int dy, int dw, int dh, TMSchema.State state)Paint a skin at a defined position and size.java.lang.StringtoString()
-
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
paintSkin
public void paintSkin(java.awt.Graphics g, int dx, int dy, TMSchema.State state)Paint a skin at x, y.- Parameters:
g- the graphics context to use for paintingdx- the destination x coordinatedy- the destination y coordinatestate- which state to paint
-
paintSkin
public void paintSkin(java.awt.Graphics g, java.awt.Rectangle r, TMSchema.State state)Paint a skin in an area defined by a rectangle.- Parameters:
g- the graphics context to use for paintingr- aRectangledefining the area to fill, may cause the image to be stretched or tiledstate- which state to paint
-
paintSkin
public void paintSkin(java.awt.Graphics g, int dx, int dy, int dw, int dh, TMSchema.State state)Paint a skin at a defined position and size This method supports animation.- Parameters:
g- the graphics context to use for paintingdx- the destination x coordinatedy- the destination y coordinatedw- the width of the area to fill, may cause the image to be stretched or tileddh- the height of the area to fill, may cause the image to be stretched or tiledstate- which state to paint
-
paintSkinRaw
public void paintSkinRaw(java.awt.Graphics g, int dx, int dy, int dw, int dh, TMSchema.State state)Paint a skin at a defined position and size. This method does not trigger animation. It is needed for the animation support.- Parameters:
g- the graphics context to use for paintingdx- the destination x coordinate.dy- the destination y coordinate.dw- the width of the area to fill, may cause the image to be stretched or tileddh- the height of the area to fill, may cause the image to be stretched or tiledstate- which state to paint
-
paintSkin
public void paintSkin(java.awt.Graphics g, int dx, int dy, int dw, int dh, TMSchema.State state, boolean borderFill)Paint a skin at a defined position and size- Parameters:
g- the graphics context to use for paintingdx- the destination x coordinatedy- the destination y coordinatedw- the width of the area to fill, may cause the image to be stretched or tileddh- the height of the area to fill, may cause the image to be stretched or tiledstate- which state to paintborderFill- should test if the component uses a border fill and skip painting if it is
-
-