|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface UiElement
A common interface for items and screens.
Copyright Enough Software 2008
| Method Summary | |
|---|---|
void |
addRelativeToContentRegion(ClippingRegion repaintRegion,
int x,
int y,
int width,
int height)
Adds a region relative to this item's content x/y start position. |
void |
addRepaintArea(ClippingRegion repaintArea)
Adds a repaint request for this user interface component's space. |
Style |
getStyle()
Retrieves the currently used style |
void |
setStyle(Style style)
Sets the style of this user interface element. |
void |
setStyle(Style style,
boolean resetStyle)
Sets the style with animatable CSS attributes of this user interface element. |
| Method Detail |
|---|
void setStyle(Style style)
style - the new style for this element.
NullPointerException - when style is null
void setStyle(Style style,
boolean resetStyle)
style - the new style for this element.resetStyle - true when style settings should be resetted. This is not the case
when styles are animated, for example.
NullPointerException - when style is nullStyle getStyle()
void addRepaintArea(ClippingRegion repaintArea)
repaintArea - the clipping rectangle to which the repaint area should be added
void addRelativeToContentRegion(ClippingRegion repaintRegion,
int x,
int y,
int width,
int height)
repaintRegion - the clipping regionx - horizontal start relative to this item's content positiony - vertical start relative to this item's content positionwidth - widthheight - height
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||