net.sf.jzeno.echo
Class ConstructionList

java.lang.Object
  extended by net.sf.jzeno.echo.ConstructionList
All Implemented Interfaces:
java.io.Serializable

public class ConstructionList
extends java.lang.Object
implements java.io.Serializable

Simple helper class for easily creating lists of 4-element object groups that match the constructor conventions for generic container components. The resulting object array will contain groups (by 4) of propertyName, labelName, constructionHints and override classes. This also solves the code formatting problem that makes using long arrays. Typical usage would be :

See Also:
Serialized Form

Constructor Summary
ConstructionList()
           
ConstructionList(ConstructionList copyMe)
           
 
Method Summary
 void add(java.lang.String propertyPath, java.lang.String label, java.lang.String constructionHints, java.lang.Class viewerComponentClass)
           
 void add(java.lang.String propertyPath, java.lang.String label, java.lang.String viewerConstructionHints, java.lang.Class viewerComponentClass, java.lang.String editorPropertyPath, java.lang.String editorConstructionHints, java.lang.Class editorComponentClass)
           
 boolean equals(java.lang.Object obj)
           
 java.lang.String getLabel(int index)
           
 java.lang.Class getPrimaryComponentClass(int index)
           
 java.lang.String getPrimaryConstructionHints(int index)
           
 java.lang.String getPrimaryPropertyPath(int index)
           
 java.lang.Class getSecondaryComponentClass(int index)
           
 java.lang.String getSecondaryConstructionHints(int index)
           
 java.lang.String getSecondaryPropertyPath(int index)
           
 boolean secondarySpecified(int index)
           
 int size()
           
 java.lang.Object[] toArray()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConstructionList

public ConstructionList(ConstructionList copyMe)

ConstructionList

public ConstructionList()
Method Detail

add

public void add(java.lang.String propertyPath,
                java.lang.String label,
                java.lang.String constructionHints,
                java.lang.Class viewerComponentClass)

add

public void add(java.lang.String propertyPath,
                java.lang.String label,
                java.lang.String viewerConstructionHints,
                java.lang.Class viewerComponentClass,
                java.lang.String editorPropertyPath,
                java.lang.String editorConstructionHints,
                java.lang.Class editorComponentClass)

size

public int size()

getLabel

public java.lang.String getLabel(int index)

getPrimaryPropertyPath

public java.lang.String getPrimaryPropertyPath(int index)

getSecondaryPropertyPath

public java.lang.String getSecondaryPropertyPath(int index)

getPrimaryConstructionHints

public java.lang.String getPrimaryConstructionHints(int index)

getSecondaryConstructionHints

public java.lang.String getSecondaryConstructionHints(int index)

getPrimaryComponentClass

public java.lang.Class getPrimaryComponentClass(int index)

getSecondaryComponentClass

public java.lang.Class getSecondaryComponentClass(int index)

secondarySpecified

public boolean secondarySpecified(int index)

toArray

public java.lang.Object[] toArray()

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object