|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gishur.gui2.Style | +--gishur.gui2.painter.InfoStyle
A Style
that creates InfoPainters
.
Field Summary | |
static int |
BACK_COLOR
Default-Color-Constant. |
static java.awt.Color |
BLUE_BOX_COLOR
Default Box Color Blue-Style |
static java.awt.Color |
BLUE_LINE_COLOR
Default Line Color Blue-Style |
static byte |
BLUE_STYLE
Color-Style constant. |
static java.awt.Color |
BLUE_TITLE_COLOR
Default Title Color Blue-Style |
static int |
BOX_COLOR
Default-Color-Constant. |
static int |
BOX_LINE_COLOR
Default-Color-Constant. |
static int |
BOX_TEXT_COLOR
Default-Color-Constant. |
static java.awt.Color |
GREEN_BOX_COLOR
Default Box Color Green-Style |
static java.awt.Color |
GREEN_LINE_COLOR
Default Line Color Green-Style |
static byte |
GREEN_STYLE
Color-Style constant. |
static java.awt.Color |
GREEN_TITLE_COLOR
Default Title Color Green-Style |
static int |
LINE_COLOR
Default-Color-Constant. |
static java.awt.Color |
RED_BOX_COLOR
Default Box Color Red-Style |
static java.awt.Color |
RED_LINE_COLOR
Default Line Color Red-Style |
static byte |
RED_STYLE
Color-Style constant. |
static java.awt.Color |
RED_TITLE_COLOR
Default Title Color Red-Style |
static int |
TITLE_COLOR
Default-Color-Constant. |
static int |
TITLE_TEXT_COLOR
Default-Color-Constant. |
static java.awt.Color |
YELLOW_BACK_COLOR
Default Background Color |
Constructor Summary | |
InfoStyle()
Default constructor. |
|
InfoStyle(byte color_style)
Constructs a new InfoStyle with the given color-layout. |
|
InfoStyle(byte color_style,
byte level)
Constructs a new InfoStyle with the given color-layout and
level-height. |
Method Summary | |
protected Painter |
createNewPainter()
Creates a new Painter object. |
static java.awt.Color |
getDefaultColor(byte style,
int colorid)
Returns the default colors for the given style. |
java.awt.Color |
getDefaultColor(int colorid)
Returns the default colors for the set style. |
protected java.lang.String |
stylePrefix()
Returns the style prefix string used for reading properties by all Painters that are created by this Style . |
Methods inherited from class gishur.gui2.Style |
createPainter, validatePainterCreation |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.awt.Color RED_TITLE_COLOR
public static final java.awt.Color GREEN_TITLE_COLOR
public static final java.awt.Color BLUE_TITLE_COLOR
public static final java.awt.Color YELLOW_BACK_COLOR
public static final java.awt.Color RED_BOX_COLOR
public static final java.awt.Color GREEN_BOX_COLOR
public static final java.awt.Color BLUE_BOX_COLOR
public static final java.awt.Color RED_LINE_COLOR
public static final java.awt.Color GREEN_LINE_COLOR
public static final java.awt.Color BLUE_LINE_COLOR
public static final byte RED_STYLE
public static final byte GREEN_STYLE
public static final byte BLUE_STYLE
public static final int BACK_COLOR
public static final int LINE_COLOR
public static final int TITLE_COLOR
public static final int TITLE_TEXT_COLOR
public static final int BOX_COLOR
public static final int BOX_LINE_COLOR
public static final int BOX_TEXT_COLOR
Constructor Detail |
public InfoStyle(byte color_style, byte level)
InfoStyle
with the given color-layout and
level-height.color_style
- layout constant (one of {RED_STYLE
,
GREEN_STYLE
,BLUE_STYLE
}
)level
- the level of the created InfoPainters
.public InfoStyle(byte color_style)
InfoStyle
with the given color-layout.color_style
- layout constant (one of {RED_STYLE
,
GREEN_STYLE
,BLUE_STYLE
}
)public InfoStyle()
Method Detail |
public java.awt.Color getDefaultColor(int colorid)
public static java.awt.Color getDefaultColor(byte style, int colorid)
style
- the style constantcolorid
- the color idprotected java.lang.String stylePrefix()
Painters
that are created by this Style
.stylePrefix
in class Style
protected Painter createNewPainter()
Painter
object.createNewPainter
in class Style
Painter
instance.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |