|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.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 |
Fields inherited from class java.util.AbstractList |
modCount |
Constructor Summary | |
FieldSet()
FieldSet constructor comment. |
Method Summary | |
void |
addAttributeAfterTitle(java.lang.String pAttribute)
Sets the text, HTML, XML, etc... |
boolean |
containsOneOf(java.util.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(java.lang.Object pObj)
|
java.lang.String |
getAttributeAfterTitle()
Returns the text, HTML, XML, etc... |
static java.util.List |
getFieldNameSets(RowCollection pRc)
Returns a List containing FieldSet objects. |
FieldSet |
getFieldSetForGivenFields(java.util.List pFieldNames)
Get a FieldSet that contains only the given fields. |
static java.util.List |
getFieldSets(java.util.List pFieldNameSets,
Row pRow)
Gets a List containing FieldSet objects. |
static java.util.List |
getFieldSets(Row pRow)
Gets a List containing FieldSet objects. |
static java.util.List |
getFieldSetsFromRow(Row row)
Returns a List containing FieldSet objects. |
java.lang.String |
getName()
Gets the name of this FieldSet |
java.lang.String |
getSafeName()
Gets the name of this FieldSet, without any characters that are likely to cause issues |
boolean |
hasDisplayableFields(ExecutingContext ec)
Tests if there are one or more fields in this field set which should be displayed |
int |
hashCode()
|
boolean |
remove(java.lang.Object pObj)
|
void |
setDisplayHeaderRow(boolean display)
Set header to display. |
void |
setDisplayHeaderRowAsLegend(boolean isLegend)
Set header to display. |
void |
setName(java.lang.String newName)
Sets the name of this FieldSet |
java.lang.String |
toString()
|
Methods inherited from class java.util.ArrayList |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, removeRange, 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 |
finalize, 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(java.lang.String pAttribute)
public boolean containsOneOf(java.util.List fieldNames)
public boolean displayHeaderRow()
public boolean displayHeaderRowAsLegend()
public boolean equals(java.lang.Object pObj)
public java.lang.String getAttributeAfterTitle()
public static java.util.List getFieldNameSets(RowCollection pRc) throws CMException
CMException
public FieldSet getFieldSetForGivenFields(java.util.List pFieldNames) throws CMException
CMException
public static java.util.List getFieldSets(java.util.List pFieldNameSets, Row pRow)
public static java.util.List getFieldSets(Row pRow) throws CMException
CMException
public static java.util.List getFieldSetsFromRow(Row row) throws CMException
row
- Row containing Fields to get FieldSets for
CMException
public java.lang.String getName()
public java.lang.String getSafeName()
public boolean hasDisplayableFields(ExecutingContext ec) throws CMException
CMException
public int hashCode()
public boolean remove(java.lang.Object pObj)
public void setDisplayHeaderRow(boolean display)
public void setDisplayHeaderRowAsLegend(boolean isLegend)
public void setName(java.lang.String newName)
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |