|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.jelly.TagSupport
org.apache.commons.jelly.tags.swing.BorderTagSupport
org.apache.commons.jelly.tags.swing.EmptyBorderTag
Creates an empty border. The border will either be exported as a variable defined by the 'var' attribute or will be set on the parent widget's border property
Field Summary | |
private int |
bottom
|
private int |
left
|
private static org.apache.commons.logging.Log |
log
The Log to which logging calls will be made. |
private int |
right
|
private int |
top
|
Fields inherited from class org.apache.commons.jelly.tags.swing.BorderTagSupport |
|
Fields inherited from class org.apache.commons.jelly.TagSupport |
body, context, hasTrimmed, parent, shouldTrim |
Constructor Summary | |
EmptyBorderTag()
|
Method Summary | |
protected javax.swing.border.Border |
createBorder()
Factory method to create a new EmptyBorder instance. |
void |
doTag(org.apache.commons.jelly.XMLOutput output)
|
void |
setBottom(int bottom)
Sets the bottom inset |
void |
setLeft(int left)
Sets the left inset |
void |
setRight(int right)
Sets the right inset |
void |
setTop(int top)
Sets the top inset |
Methods inherited from class org.apache.commons.jelly.tags.swing.BorderTagSupport |
setVar |
Methods inherited from class org.apache.commons.jelly.TagSupport |
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBody |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final org.apache.commons.logging.Log log
private int left
private int right
private int top
private int bottom
Constructor Detail |
public EmptyBorderTag()
Method Detail |
public void doTag(org.apache.commons.jelly.XMLOutput output) throws org.apache.commons.jelly.MissingAttributeException, org.apache.commons.jelly.JellyTagException
doTag
in interface org.apache.commons.jelly.Tag
doTag
in class BorderTagSupport
org.apache.commons.jelly.MissingAttributeException
org.apache.commons.jelly.JellyTagException
public void setLeft(int left)
left
- public void setRight(int right)
right
- public void setTop(int top)
top
- public void setBottom(int bottom)
bottom
- protected javax.swing.border.Border createBorder()
createBorder
in class BorderTagSupport
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |