org.apache.commons.jelly.tags.swing
Class ActionTag

java.lang.Object
  |
  +--org.apache.commons.jelly.TagSupport
        |
        +--org.apache.commons.jelly.MapTagSupport
              |
              +--org.apache.commons.jelly.tags.swing.ActionTag
All Implemented Interfaces:
DynaTag, Tag

public class ActionTag
extends MapTagSupport

Creates a Swing Action and attaches it to the parent component. The This tag creates a Swing component and adds it to its parent tag, optionally declaring this component as a variable if the var attribute is specified.

Version:
$Revision: 1.7 $
Author:
James Strachan

Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, hasTrimmed, parent, shouldTrim
 
Constructor Summary
ActionTag()
           
 
Method Summary
protected  java.lang.String capitalize(java.lang.String text)
           
 void doTag(XMLOutput output)
          Evaluates this tag after all the tags properties have been initialized.
 javax.swing.Action getAction()
           
 
Methods inherited from class org.apache.commons.jelly.MapTagSupport
createAttributes, getAttributes, setAttribute
 
Methods inherited from class org.apache.commons.jelly.TagSupport
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
 
Methods inherited from interface org.apache.commons.jelly.Tag
getBody, getContext, getParent, invokeBody, setBody, setContext, setParent
 

Constructor Detail

ActionTag

public ActionTag()
Method Detail

doTag

public void doTag(XMLOutput output)
           throws java.lang.Exception
Description copied from interface: Tag
Evaluates this tag after all the tags properties have been initialized.

getAction

public javax.swing.Action getAction()
Returns:
the Action object for this tag

capitalize

protected java.lang.String capitalize(java.lang.String text)


Copyright © 2002-2002 Apache Software Foundation. All Rights Reserved.