|
|||||||||||
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.WindowListenerTag
Creates a WindowListener which is attached to its parent window control which will invoke named Jelly scripts as window events are fired, or will invoke its body if there is no script specified for the named event type.
Field Summary | |
private org.apache.commons.jelly.Script |
activated
|
private org.apache.commons.jelly.Script |
closed
|
private org.apache.commons.jelly.Script |
closing
|
private org.apache.commons.jelly.Script |
deactivated
|
private org.apache.commons.jelly.Script |
deiconified
|
private org.apache.commons.jelly.Script |
iconified
|
private static org.apache.commons.logging.Log |
log
The Log to which logging calls will be made. |
private org.apache.commons.jelly.Script |
opened
|
private java.lang.String |
var
|
Fields inherited from class org.apache.commons.jelly.TagSupport |
body, context, hasTrimmed, parent, shouldTrim |
Constructor Summary | |
WindowListenerTag()
|
Method Summary | |
void |
doTag(org.apache.commons.jelly.XMLOutput output)
|
protected void |
invokeScript(org.apache.commons.jelly.XMLOutput output,
java.awt.event.WindowEvent event,
org.apache.commons.jelly.Script script)
|
void |
setActivated(org.apache.commons.jelly.Script activated)
Sets the Script to be executed when the window is activated. |
void |
setClosed(org.apache.commons.jelly.Script closed)
Sets the Script to be executed when the window is closed. |
void |
setClosing(org.apache.commons.jelly.Script closing)
Sets the Script to be executed when the window is closing. |
void |
setDeactivated(org.apache.commons.jelly.Script deactivated)
Sets the Script to be executed when the window is deactivated. |
void |
setDeiconified(org.apache.commons.jelly.Script deiconified)
Sets the Script to be executed when the window is deiconified. |
void |
setIconified(org.apache.commons.jelly.Script iconified)
Sets the Script to be executed when the window is iconified. |
void |
setOpened(org.apache.commons.jelly.Script opened)
Sets the Script to be executed when the window is opened. |
void |
setVar(java.lang.String var)
Sets the name of the variable to use to expose the Event object |
Methods inherited from class org.apache.commons.jelly.TagSupport |
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isTrim, setBody, setContext, 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 java.lang.String var
private org.apache.commons.jelly.Script activated
private org.apache.commons.jelly.Script closed
private org.apache.commons.jelly.Script closing
private org.apache.commons.jelly.Script deactivated
private org.apache.commons.jelly.Script deiconified
private org.apache.commons.jelly.Script iconified
private org.apache.commons.jelly.Script opened
Constructor Detail |
public WindowListenerTag()
Method Detail |
public void doTag(org.apache.commons.jelly.XMLOutput output) throws org.apache.commons.jelly.JellyTagException
org.apache.commons.jelly.JellyTagException
public void setVar(java.lang.String var)
public void setActivated(org.apache.commons.jelly.Script activated)
public void setClosed(org.apache.commons.jelly.Script closed)
public void setClosing(org.apache.commons.jelly.Script closing)
public void setDeactivated(org.apache.commons.jelly.Script deactivated)
public void setDeiconified(org.apache.commons.jelly.Script deiconified)
public void setIconified(org.apache.commons.jelly.Script iconified)
public void setOpened(org.apache.commons.jelly.Script opened)
protected void invokeScript(org.apache.commons.jelly.XMLOutput output, java.awt.event.WindowEvent event, org.apache.commons.jelly.Script script)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |