|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface TitlePainter
An interface that allows an Painter class to be added to paint part of a component. The interface specifies some extra methods to support various paint operations.
Copyright (c) Formaria Ltd., 2008
License: see license.txt
$Revision: 2.3 $
| Field Summary | |
|---|---|
static int |
BOTTOM
|
static int |
LEFT
|
static int |
RIGHT
|
static int |
TOP
|
| Method Summary | |
|---|---|
void |
setBlend(boolean b)
Set the blend flag. |
void |
setTitle(java.lang.String text)
Set the title text |
void |
setTitleColor(java.awt.Color c)
Set the title/underline color |
void |
setTitleFont(java.awt.Font f)
Set the title font |
void |
setTitlePosition(int pos)
Set the title position |
void |
setTitleTextColor(java.awt.Color c)
Set the title/underline text color |
| Field Detail |
|---|
static final int TOP
static final int BOTTOM
static final int LEFT
static final int RIGHT
| Method Detail |
|---|
void setBlend(boolean b)
b - true to blend into the parent space so that siblings panels for a single painted area,
false to paint just this area without regard to other areasvoid setTitle(java.lang.String text)
text - the new titlevoid setTitleColor(java.awt.Color c)
c - the colorvoid setTitleTextColor(java.awt.Color c)
c - the colorvoid setTitleFont(java.awt.Font f)
f - the fontvoid setTitlePosition(int pos)
pos - the title position
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||