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

java.lang.Object
  extended byorg.apache.commons.jelly.TagSupport
      extended byorg.apache.commons.jelly.tags.swing.LayoutTagSupport
          extended byorg.apache.commons.jelly.tags.swing.CardLayoutTag
All Implemented Interfaces:
org.apache.commons.jelly.Tag

public class CardLayoutTag
extends LayoutTagSupport

Implements CardLayout. Takes parameters hgap, vgap per the class. You can set the "var" attribute of this tag, this will store the layout manager in that context attribute, for later use.

Author:
Hans Gilde

Field Summary
 
Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, hasTrimmed, parent, shouldTrim
 
Constructor Summary
CardLayoutTag()
           
 
Method Summary
protected  java.awt.LayoutManager createLayoutManager()
          Factory method to create a new LayoutManager instance.
 int getHgap()
           
 int getVgap()
           
 void setHgap(int hgap)
           
 void setVgap(int vgap)
           
 
Methods inherited from class org.apache.commons.jelly.tags.swing.LayoutTagSupport
addLayoutComponent, doTag, getComponentTag, 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
 

Constructor Detail

CardLayoutTag

public CardLayoutTag()
Method Detail

createLayoutManager

protected java.awt.LayoutManager createLayoutManager()
Description copied from class: LayoutTagSupport
Factory method to create a new LayoutManager instance.

Specified by:
createLayoutManager in class LayoutTagSupport

getHgap

public int getHgap()
Returns:
Returns the hgap.

setHgap

public void setHgap(int hgap)
Parameters:
hgap - The hgap to set.

getVgap

public int getVgap()
Returns:
Returns the vgap.

setVgap

public void setVgap(int vgap)
Parameters:
vgap - The vgap to set.


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