|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DecoratedPanel
Provides visual decoration as a background to other components.
Method Summary | |
---|---|
void |
repaint()
Causes the panel to repaint itself. |
void |
setOnPaint(java.lang.String callback)
Sets a callback used to paint the decoration. |
void |
setPadding(int top,
int right,
int bottom,
int left)
Sets padding that applies around the inner component for decoration. |
Methods inherited from interface com.leafdigital.ui.api.Panel |
---|
remove, removeAll, setBorder |
Methods inherited from interface com.leafdigital.ui.api.Widget |
---|
getID, getOwner, informClosed, isVisible, setOwner, setVisible |
Methods inherited from interface com.leafdigital.ui.api.WidgetParent |
---|
getWidgets |
Method Detail |
---|
void setPadding(int top, int right, int bottom, int left)
top
- Top inset (px)right
- Right inset (px)bottom
- Bottom inset (px)left
- Left inset (px)@UICallback void setOnPaint(java.lang.String callback)
callback
- Callback method or null for nonevoid repaint()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |