| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Clippable
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.NestedStyleInfoNested public static StyleInfo class. | 
| Field Summary | |
|---|---|
| static java.lang.String | CLIP_RECT_CHANGED_PROPERTYThis property name is fired when the clip rect changes | 
| static java.lang.String | STYLE_CLIP_RECTA style constant for the Clipping Rect property. | 
| Method Summary | |
|---|---|
|  void | applyStyle(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 | 
|---|
static final java.lang.String STYLE_CLIP_RECT
ClipRect
static final java.lang.String CLIP_RECT_CHANGED_PROPERTY
| Method Detail | 
|---|
void applyStyle(Style style)
Component.applyStyle(nextapp.echo.Style)void setClipRect(int[] clipRect)
eg. new int { 2,3,10,15}
If no clipping is required, this should be set to null.
void setClipRect(int x,
                 int y,
                 int width,
                 int height)
ClipRect getClipRect()
void setClipRect(ClipRect clipRect)
eg. new ClipRect{ 2,3,10,15}
If no clipping is required, this should be set to null.
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||