|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jaxfront.core.ui.RowHeaderLabellingStrategy
public abstract class RowHeaderLabellingStrategy
RowHeaderLabellingStrategy provides a standard way to define how rows from the RowHeadedTable should be displayed. With this strategy pattern it's possible to define very complex labeling mechanisems by simply subclassing this class.
com.jaxfront.core.ui.model.XPathRowHeaderLabellingStrategy
Constructor Summary | |
---|---|
RowHeaderLabellingStrategy()
|
Method Summary | |
---|---|
static RowHeaderLabellingStrategy |
create(java.lang.String strategyName,
ListType model)
Factory method to create a labelling strategy via qualified class name |
abstract java.lang.String |
getRowHeader(Type type)
Returns the header name for a type. |
abstract int |
getWidth()
Returns the header name for a type. |
boolean |
isPrimitive()
Returns true if the row header strategy is primitve. |
boolean |
shouldSwitchHeadersOnMove()
Returns true if the column headers should be switched when columns are moved. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RowHeaderLabellingStrategy()
Method Detail |
---|
public static RowHeaderLabellingStrategy create(java.lang.String strategyName, ListType model)
strategyName
- full qualified name of the strategy classmodel
- holding table modelpublic abstract java.lang.String getRowHeader(Type type)
public abstract int getWidth()
public boolean isPrimitive()
public boolean shouldSwitchHeadersOnMove()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |