EchoPoint API - 3.0.0b5
App Webcontainer

echopoint.able
Interface Attributeable

All Known Implementing Classes:
AbleComponent, CarouselContainer, ComponentEx, ContainerEx, Separator, SlidingMenu, TooltipContainer

public interface Attributeable

Attributeable is an interface that allows a Component to have a series of objects associated with attribute names. This attribute setting follows standard HashMap semantics.

The rendering peer code for the Component will also use these attributes to render out this attribute information on the client.


Method Summary
 Object getAttribute(String attributeName)
          Returns a value for the given attribute name or null if one cannot be found.
 String[] getAttributeNames()
          Returns a String array with the names of the the attributes that have neen set.
 void setAttribute(String attributeName, Object attributeValue)
          Sets a value for a given attribute name.
 

Method Detail

getAttributeNames

String[] getAttributeNames()
Returns a String array with the names of the the attributes that have neen set.

Returns:
a String array with the names of the the attributes that have neen set.

getAttribute

Object getAttribute(String attributeName)
Returns a value for the given attribute name or null if one cannot be found.

Parameters:
attributeName - - the name of the attribute to return
Returns:
a value for the given attribute name or null if one cannot be found.

setAttribute

void setAttribute(String attributeName,
                  Object attributeValue)
Sets a value for a given attribute name.

Parameters:
attributeName - - the name of the attribute to set
attributeValue - - the value for the attribute

EchoPoint API - 3.0.0b5
App Webcontainer