|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
| Method Summary | |
void |
dispose()
|
void |
draw(Graphics g)
|
ObjectBox |
getBox()
|
int |
getClientHeight()
Retrieve the height of the client area within the painter. |
int |
getClientWidth()
Retrieve the width of the client area within the painter. |
int |
getPrefHeight()
|
int |
getPrefWidth()
|
void |
onElementAttrChange(DElement elem,
DAttr attr)
|
void |
setBackground(Color c)
|
void |
setBorderVisible(boolean aDrawBorder)
Allows CSS control over whether the object implementing ObjectPainter draws its own border. |
void |
setBox(ObjectBox b)
|
void |
setFontHints(CSSAttribs css)
Allow the ObjectBox to instruct the FormWidgets about the initial font to use. |
void |
setForeground(Color c)
|
void |
setPainterSize(int w,
int h)
|
| Method Detail |
public void setPainterSize(int w,
int h)
public int getPrefWidth()
public int getPrefHeight()
public void draw(Graphics g)
public void setBox(ObjectBox b)
public ObjectBox getBox()
public void dispose()
public void setBackground(Color c)
public void setForeground(Color c)
public void onElementAttrChange(DElement elem,
DAttr attr)
public void setBorderVisible(boolean aDrawBorder)
aDrawBorder - false if the underlying widget is NOT to draw its own border.public void setFontHints(CSSAttribs css)
public int getClientHeight()
public int getClientWidth()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||