|
EchoPoint 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A Clippable
can have a clipping rectangle
that can clip the component content to a define shape. The rectangle is in
the form x, y, width, height.
Nested Class Summary | |
static class |
Clippable.NestedStyleInfo
Nested public static StyleInfo class. |
Field Summary | |
static java.lang.String |
CLIP_RECT_CHANGED_PROPERTY
This property name is fired when the clip rect changes |
static java.lang.String |
STYLE_CLIP_RECT
A style constant for the Clipping Rect property. |
Method Summary | |
void |
applyStyle(nextapp.echo.Style style)
|
ClipRect |
getClipRect()
Returns the clipping rectangle on the component. |
void |
setClipRect(ClipRect clipRect)
Sets the clipping rectangle of the component. |
void |
setClipRect(int[] clipRect)
Sets the clipping rectangle of the component. |
void |
setClipRect(int x,
int y,
int width,
int height)
Sets the clipping rectangle of the component to the specified values |
Field Detail |
public static final java.lang.String STYLE_CLIP_RECT
ClipRect
public static final java.lang.String CLIP_RECT_CHANGED_PROPERTY
Method Detail |
public void applyStyle(nextapp.echo.Style style)
Component.applyStyle(nextapp.echo.Style)
public void setClipRect(int[] clipRect)
eg. new int { 2,3,10,15}
If no clipping is required, this should be set to null.
public void setClipRect(int x, int y, int width, int height)
public ClipRect getClipRect()
public void setClipRect(ClipRect clipRect)
eg. new ClipRect{ 2,3,10,15}
If no clipping is required, this should be set to null.
|
EchoPoint 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |