|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.AbstractCollection | +--java.util.AbstractList | +--java.util.ArrayList | +--planetj.database.field.FieldSet
A FieldSet is a group of fields which have been grouped together for display purposes
Field Summary | |
static short |
FIELDS
Indicates that the FieldSet objects should contain Fields objects |
static short |
NAMES
Indicates that the FieldSet objects should contain the names of fields |
Constructor Summary | |
FieldSet()
FieldSet constructor comment. |
Method Summary | |
void |
addAttributeAfterTitle(String pAttribute)
Sets the text, HTML, XML, etc... |
boolean |
containsOneOf(List fieldNames)
Checks to see if this FieldSet contains one Field in the given List of Field names. |
boolean |
displayHeaderRow()
True if header should be displayed. |
boolean |
displayHeaderRowAsLegend()
True if header should be displayed as legend for html fieldset. |
boolean |
equals(Object pObj)
|
String |
getAttributeAfterTitle()
Returns the text, HTML, XML, etc... |
static List |
getFieldNameSets(RowCollection pRc)
Returns a List containing FieldSet objects. |
FieldSet |
getFieldSetForGivenFields(List pFieldNames)
Get a FieldSet that contains only the given fields. |
static List |
getFieldSets(List pFieldNameSets,
Row pRow)
Gets a List containing FieldSet objects. |
static List |
getFieldSets(Row pRow)
Gets a List containing FieldSet objects. |
String |
getName()
Gets the name of this FieldSet |
boolean |
hasDisplayableFields(ExecutingContext ec)
|
int |
hashCode()
|
boolean |
remove(Object pObj)
|
void |
setDisplayHeaderRow(boolean display)
Set header to display. |
void |
setDisplayHeaderRowAsLegend(boolean isLegend)
Set header to display. |
void |
setName(String newName)
Sets the name of this FieldSet |
String |
toString()
|
Methods inherited from class java.util.ArrayList |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, set, size, toArray, toArray, trimToSize |
Methods inherited from class java.util.AbstractList |
iterator, listIterator, listIterator, subList |
Methods inherited from class java.util.AbstractCollection |
containsAll, removeAll, retainAll |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
containsAll, iterator, listIterator, listIterator, removeAll, retainAll, subList |
Field Detail |
public static final short NAMES
public static final short FIELDS
Constructor Detail |
public FieldSet()
Method Detail |
public void addAttributeAfterTitle(String pAttribute)
public boolean containsOneOf(List fieldNames)
public boolean displayHeaderRow()
public boolean displayHeaderRowAsLegend()
public boolean equals(Object pObj)
equals
in interface List
equals
in class AbstractList
public String getAttributeAfterTitle()
public static List getFieldNameSets(RowCollection pRc) throws CMException
CMException
public FieldSet getFieldSetForGivenFields(List pFieldNames) throws CMException
CMException
public static List getFieldSets(List pFieldNameSets, Row pRow)
public static List getFieldSets(Row pRow) throws CMException
CMException
public String getName()
public boolean hasDisplayableFields(ExecutingContext ec) throws CMException
CMException
public int hashCode()
hashCode
in interface List
hashCode
in class AbstractList
public boolean remove(Object pObj)
remove
in interface List
remove
in class AbstractCollection
public void setDisplayHeaderRow(boolean display)
public void setDisplayHeaderRowAsLegend(boolean isLegend)
public void setName(String newName)
public String toString()
toString
in class AbstractCollection
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |