org.apache.myfaces.tobago.taglib.component
Class ToolBarTag

java.lang.Object
  extended by javax.faces.webapp.UIComponentTag
      extended by org.apache.myfaces.tobago.taglib.component.TobagoTag
          extended by org.apache.myfaces.tobago.taglib.component.TobagoBodyTag
              extended by org.apache.myfaces.tobago.taglib.component.PanelTag
                  extended by org.apache.myfaces.tobago.taglib.component.ToolBarTag
All Implemented Interfaces:
BodyTag, IterationTag, JspTag, Tag, PanelTagDeclaration, TobagoBodyTagDeclaration, TobagoTagDeclaration, ToolBarTagDeclaration, HasBinding, HasDeprecatedDimension, HasDeprecatedHeight, HasDeprecatedWidth, HasId, HasIdBindingAndRendered, IsRendered

public class ToolBarTag
extends PanelTag
implements ToolBarTagDeclaration


Field Summary
static String ICON_BIG
           
static String ICON_OFF
           
static String ICON_SMALL
           
static String LABEL_BOTTOM
           
static String LABEL_OFF
           
static String LABEL_RIGHT
           
 
Fields inherited from class javax.faces.webapp.UIComponentTag
pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
ToolBarTag()
           
 
Method Summary
 String getComponentType()
           
 void release()
           
 void setIconSize(String iconSize)
          Size of button images, possible values are: small, big, off.
 void setLabelPosition(String labelPosition)
          Position of the button label, possible values are: right, bottom, off.
 void setOrientation(String orientation)
          Orientation of toolbar
protected  void setProperties(UIComponent component)
           
 
Methods inherited from class org.apache.myfaces.tobago.taglib.component.PanelTag
setMarkup
 
Methods inherited from class org.apache.myfaces.tobago.taglib.component.TobagoBodyTag
doAfterBody, doEndTag, doInitBody, getDoAfterBodyValue, getDoStartValue, isBodyContentEmpty, setBodyContent
 
Methods inherited from class org.apache.myfaces.tobago.taglib.component.TobagoTag
doStartTag, getDisabled, getHeight, getHidden, getInline, getLabel, getReadonly, getRendererType, getTitle, getWidth, setDisabled, setHeight, setHidden, setInline, setLabel, setReadonly, setTitle, setWidth
 
Methods inherited from class javax.faces.webapp.UIComponentTag
encodeBegin, encodeChildren, encodeEnd, findComponent, getComponentInstance, getCreated, getDoEndValue, getFacesContext, getFacetName, getId, getParent, getParentUIComponentTag, isSuppressed, isValueReference, setBinding, setId, setPageContext, setParent, setRendered, setupResponseWriter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.myfaces.tobago.taglib.component.PanelTagDeclaration
setMarkup
 
Methods inherited from interface javax.servlet.jsp.tagext.BodyTag
doInitBody, setBodyContent
 
Methods inherited from interface javax.servlet.jsp.tagext.IterationTag
doAfterBody
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
doEndTag, doStartTag, getParent, setPageContext, setParent
 
Methods inherited from interface org.apache.myfaces.tobago.taglib.decl.HasId
setId
 
Methods inherited from interface org.apache.myfaces.tobago.taglib.decl.HasBinding
setBinding
 
Methods inherited from interface org.apache.myfaces.tobago.taglib.decl.IsRendered
setRendered
 
Methods inherited from interface org.apache.myfaces.tobago.taglib.decl.HasDeprecatedWidth
setWidth
 
Methods inherited from interface org.apache.myfaces.tobago.taglib.decl.HasDeprecatedHeight
setHeight
 

Field Detail

LABEL_BOTTOM

public static final String LABEL_BOTTOM
See Also:
Constant Field Values

LABEL_RIGHT

public static final String LABEL_RIGHT
See Also:
Constant Field Values

LABEL_OFF

public static final String LABEL_OFF
See Also:
Constant Field Values

ICON_SMALL

public static final String ICON_SMALL
See Also:
Constant Field Values

ICON_BIG

public static final String ICON_BIG
See Also:
Constant Field Values

ICON_OFF

public static final String ICON_OFF
See Also:
Constant Field Values
Constructor Detail

ToolBarTag

public ToolBarTag()
Method Detail

getComponentType

public String getComponentType()
Overrides:
getComponentType in class PanelTag

setProperties

protected void setProperties(UIComponent component)
Overrides:
setProperties in class PanelTag

release

public void release()
Specified by:
release in interface Tag
Overrides:
release in class PanelTag

setLabelPosition

public void setLabelPosition(String labelPosition)
Description copied from interface: ToolBarTagDeclaration
Position of the button label, possible values are: right, bottom, off. If toolbar is facet of box: bottom is changed to right!

Specified by:
setLabelPosition in interface ToolBarTagDeclaration

setIconSize

public void setIconSize(String iconSize)
Description copied from interface: ToolBarTagDeclaration
Size of button images, possible values are: small, big, off.

Specified by:
setIconSize in interface ToolBarTagDeclaration

setOrientation

public void setOrientation(String orientation)
Description copied from interface: ToolBarTagDeclaration
Orientation of toolbar

Specified by:
setOrientation in interface ToolBarTagDeclaration


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