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, HasTip, IsRendered

public class ToolBarTag
extends PanelTag
implements ToolBarTagDeclaration


Field Summary
static java.lang.String ICON_BIG
           
static java.lang.String ICON_OFF
           
static java.lang.String ICON_SMALL
           
static java.lang.String LABEL_BOTTOM
           
static java.lang.String LABEL_OFF
           
static java.lang.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
 
Constructor Summary
ToolBarTag()
           
 
Method Summary
 java.lang.String getComponentType()
           
 void release()
           
 void setIconSize(java.lang.String iconSize)
          Size of button images, possible values are: small, big, off.
 void setLabelPosition(java.lang.String labelPosition)
          Position of the button label, possible values are: right, bottom, off.
 void setOrientation(java.lang.String orientation)
          Orientation of toolbar
protected  void setProperties(UIComponent component)
           
 
Methods inherited from class org.apache.myfaces.tobago.taglib.component.PanelTag
setMarkup, setTip
 
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 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
 
Methods inherited from interface org.apache.myfaces.tobago.taglib.decl.HasTip
setTip
 

Field Detail

LABEL_BOTTOM

public static final java.lang.String LABEL_BOTTOM
See Also:
Constant Field Values

LABEL_RIGHT

public static final java.lang.String LABEL_RIGHT
See Also:
Constant Field Values

LABEL_OFF

public static final java.lang.String LABEL_OFF
See Also:
Constant Field Values

ICON_SMALL

public static final java.lang.String ICON_SMALL
See Also:
Constant Field Values

ICON_BIG

public static final java.lang.String ICON_BIG
See Also:
Constant Field Values

ICON_OFF

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

ToolBarTag

public ToolBarTag()
Method Detail

getComponentType

public java.lang.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(java.lang.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(java.lang.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(java.lang.String orientation)
Description copied from interface: ToolBarTagDeclaration
Orientation of toolbar

Specified by:
setOrientation in interface ToolBarTagDeclaration


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