org.apache.beehive.netui.tags.tree
Class AttributeRenderer

Object
  extended by AttributeRenderer

public class AttributeRenderer
extends Object


Nested Class Summary
static class AttributeRenderer.RemoveInfo
           
 
Constructor Summary
AttributeRenderer()
          Create the attribute renderer.
 
Method Summary
 AttributeRenderer.RemoveInfo addElement(TreeElement elem)
          Add all of the attributes associated with an element to the internal lists.
 void removeElement(TreeElement elem, AttributeRenderer.RemoveInfo removes)
           
 void removeElementScoped(TreeElement elem, AttributeRenderer.RemoveInfo removes)
          This method will remove all of the elements scoped to the attribute.
 void renderDiv(DivTag.State state, TreeElement elem)
          This method will render the values assocated with the div around a treeItem.
 void renderIconImage(ImageTag.State state, TreeElement elem)
          This method will render the values assocated with the Icon Image.
 void renderSelectionLink(AnchorTag.State state, TreeElement elem)
          This method will render the values assocated with the selection link.
 String toString()
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AttributeRenderer

public AttributeRenderer()
Create the attribute renderer. This will create Empty lists for each of the types of attributes supported. These empty lists will be replaced once an attribute is added to them.

Method Detail

addElement

public AttributeRenderer.RemoveInfo addElement(TreeElement elem)
Add all of the attributes associated with an element to the internal lists.

Parameters:
elem -

removeElementScoped

public void removeElementScoped(TreeElement elem,
                                AttributeRenderer.RemoveInfo removes)
This method will remove all of the elements scoped to the attribute.

Parameters:
elem -

removeElement

public void removeElement(TreeElement elem,
                          AttributeRenderer.RemoveInfo removes)

renderIconImage

public void renderIconImage(ImageTag.State state,
                            TreeElement elem)
This method will render the values assocated with the Icon Image.

Parameters:
state -
elem -

renderSelectionLink

public void renderSelectionLink(AnchorTag.State state,
                                TreeElement elem)
This method will render the values assocated with the selection link.

Parameters:
state -
elem -

renderDiv

public void renderDiv(DivTag.State state,
                      TreeElement elem)
This method will render the values assocated with the div around a treeItem.

Parameters:
state -
elem -

toString

public String toString()
Overrides:
toString in class Object