|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectNOS.gui.Decor
public class Decor
| Constructor Summary | |
|---|---|
Decor()
|
|
| Method Summary | |
|---|---|
static void |
PaintBorder(java.awt.Graphics g,
java.awt.Rectangle rect,
Style.StyleElement se)
Draws a border inside the given rectangle using the colour specified in the given style element. |
static void |
PaintGradient(java.awt.Graphics g,
java.awt.Rectangle rect,
Style.StyleElement se)
Paint a gradient based on the given style inside the given rectangle. |
static void |
PaintIcon(java.awt.Graphics g,
int[] iconpix,
int width,
int height,
java.awt.Rectangle rect,
Style.StyleElement se)
Draws an icon in the centre of the given rectangle using the given style element. |
static void |
PaintIcon(java.awt.Graphics g,
int[] iconpix,
int width,
int height,
java.awt.Rectangle rect,
Style.StyleElement se,
int picColour)
Draws an icon in the centre of the given rectangle using the given style element. |
static void |
PaintIcon(java.awt.Graphics g,
int icon,
java.awt.Rectangle rect,
Style.StyleElement se)
Draws an icon in the centre of the given rectangle using the given style element. |
static void |
PaintIcon(java.awt.Graphics g,
int icon,
java.awt.Rectangle rect,
Style.StyleElement se,
int picColour)
Draws an icon in the centre of the given rectangle using the given style element. |
static void |
PaintText(java.awt.Graphics g,
java.lang.String text,
java.awt.Rectangle rect,
Style.StyleElement se)
Draws a string of text inside the given rectangle formatted and coloured according to the provided style element. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Decor()
| Method Detail |
|---|
public static void PaintGradient(java.awt.Graphics g,
java.awt.Rectangle rect,
Style.StyleElement se)
g - A graphics context to use for paintingrect - A rectangle to draw insidese - A style element to use
public static void PaintIcon(java.awt.Graphics g,
int icon,
java.awt.Rectangle rect,
Style.StyleElement se)
g - A graphics context to use for paintingicon - The system icon to be drawn (eg: one of ICON_CLOSE,
ICON_MAXIMISE, ICON_RESTORE, ICON_MINIMISE, .. etc ..)rect - A rectangle to draw insidese - A style element to use
public static void PaintIcon(java.awt.Graphics g,
int icon,
java.awt.Rectangle rect,
Style.StyleElement se,
int picColour)
g - A graphics context to use for paintingicon - The system icon to be drawn (eg: one of ICON_CLOSE,
ICON_MAXIMISE, ICON_RESTORE, ICON_MINIMISE, .. etc ..)rect - A rectangle to draw insidese - A style element to usepicColour - An override for the colour provided by the style.
public static void PaintIcon(java.awt.Graphics g,
int[] iconpix,
int width,
int height,
java.awt.Rectangle rect,
Style.StyleElement se)
g - A graphics context to use for paintingiconpix - a strided array of pixels containing you iconwidth - the width of the iconheight - the height of the iconrect - A rectangle to draw insidese - A style element to use
public static void PaintIcon(java.awt.Graphics g,
int[] iconpix,
int width,
int height,
java.awt.Rectangle rect,
Style.StyleElement se,
int picColour)
g - A graphics context to use for paintingiconpix - a strided array of pixels containing you iconwidth - the width of the iconheight - the height of the iconrect - A rectangle to draw insidese - A style element to usepicColour - An override for the colour provided by the style.
public static void PaintBorder(java.awt.Graphics g,
java.awt.Rectangle rect,
Style.StyleElement se)
g - A graphics context to use for paintingrect - A rectangle to draw insidese - A style element to use
public static void PaintText(java.awt.Graphics g,
java.lang.String text,
java.awt.Rectangle rect,
Style.StyleElement se)
g - A graphics context to use for paintingtext - The string to be drawnrect - A rectangle to draw insidese - A style element to use
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||