|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openxava.tab.meta.MetaTab
public class MetaTab
| Constructor Summary | |
|---|---|
MetaTab()
|
|
| Method Summary | |
|---|---|
void |
addMetaProperty(MetaProperty metaProperty)
|
void |
addMetaRowStyle(MetaRowStyle style)
|
void |
addProperty(int index,
java.lang.String propertyName)
For dynamically add properties to this tab |
void |
addProperty(java.lang.String propertyName)
For dynamically add properties to this tab |
void |
clearProperties()
For dynamically remove all properties to this tab |
MetaTab |
cloneMetaTab()
|
static MetaTab |
createDefault(MetaComponent component)
|
static MetaTab |
createDefault(MetaModel metaModel)
|
java.lang.Object |
filter(java.lang.Object[] objects)
Apply the tab filter to sent objects. |
java.lang.String |
getBaseCondition()
|
java.util.Collection |
getCmpFieldsColumnsInMultipleProperties()
|
java.lang.String |
getDefaultOrder()
|
java.lang.String |
getEditor()
|
java.util.List |
getHiddenPropertiesNames()
Names of properties that must to exist but is not needed show they to users. |
java.util.Collection |
getHiddenTableColumns()
|
java.lang.String |
getId()
|
MetaComponent |
getMetaComponent()
|
MetaFilter |
getMetaFilter()
|
MetaModel |
getMetaModel()
|
java.util.List |
getMetaProperties()
|
java.util.Collection |
getMetaPropertiesCalculated()
Hidden ones are not included |
java.util.Collection |
getMetaPropertiesHidden()
|
java.util.Collection |
getMetaPropertiesHiddenCalculated()
|
java.util.Collection |
getMetaRowStyles()
|
java.lang.String |
getModelName()
|
java.lang.String |
getName()
|
java.util.List |
getPropertiesNames()
|
java.util.List<java.lang.String> |
getPropertiesNamesWithKeyAndHidden()
|
java.util.List |
getRemainingPropertiesNames()
|
java.lang.String |
getSelect()
|
java.util.Collection<java.lang.String> |
getSumPropertiesNames()
Sum properties names. |
java.util.Collection |
getTableColumns()
|
static java.lang.String |
getTitleI18n(java.util.Locale locale,
java.lang.String modelName,
java.lang.String tabName)
|
boolean |
hasBaseCondition()
|
boolean |
hasCalculatedProperties()
|
boolean |
hasDefaultOrder()
|
boolean |
hasFilter()
|
boolean |
hasRowStyles()
|
boolean |
isExcludeAll()
|
boolean |
isExcludeByKey()
|
void |
movePropertyToLeft(int index)
|
void |
movePropertyToRight(int index)
|
java.util.List |
namesToMetaProperties(java.util.Collection names)
|
void |
removeProperty(int index)
For dynamically remove properties to this tab |
void |
removeProperty(java.lang.String propertyName)
For dynamically remove properties to this tab |
void |
restoreDefaultProperties()
|
void |
setBaseCondition(java.lang.String string)
|
void |
setDefaultOrder(java.lang.String defaultOrder)
|
void |
setDefaultPropertiesNames(java.lang.String properties)
|
void |
setDefaultValues()
|
void |
setEditor(java.lang.String editor)
|
void |
setExcludeAll(boolean excludeAll)
|
void |
setExcludeByKey(boolean excludeByKey)
|
void |
setMetaComponent(MetaComponent component)
|
void |
setMetaFilter(MetaFilter metaFilter)
|
void |
setMetaModel(MetaModel metaModel)
|
void |
setMetaRowStyles(java.util.Collection styles)
|
void |
setModelName(java.lang.String modelName)
|
void |
setName(java.lang.String name)
|
void |
setPropertiesNames(java.lang.String properties)
Comma separated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MetaTab()
| Method Detail |
|---|
public static java.lang.String getTitleI18n(java.util.Locale locale,
java.lang.String modelName,
java.lang.String tabName)
throws XavaException
XavaException
public MetaModel getMetaModel()
throws XavaException
XavaExceptionpublic void setMetaModel(MetaModel metaModel)
public static MetaTab createDefault(MetaComponent component)
throws XavaException
XavaExceptionpublic static MetaTab createDefault(MetaModel metaModel)
public java.util.List getMetaProperties()
throws XavaException
XavaException
public java.util.Collection getMetaPropertiesHidden()
throws XavaException
XavaException
public java.util.List namesToMetaProperties(java.util.Collection names)
throws XavaException
XavaException
public java.util.Collection getMetaPropertiesCalculated()
throws XavaException
XavaException
public java.util.Collection getMetaPropertiesHiddenCalculated()
throws XavaException
XavaException
public boolean hasCalculatedProperties()
throws XavaException
XavaException
public java.util.Collection getTableColumns()
throws XavaException
XavaException
public java.util.Collection getHiddenTableColumns()
throws XavaException
XavaException
public java.util.List getPropertiesNames()
throws XavaException
XavaException
public java.util.List<java.lang.String> getPropertiesNamesWithKeyAndHidden()
throws XavaException
XavaException
public java.util.List getHiddenPropertiesNames()
throws XavaException
Usually are properties used to calcualte others.
The keys are excluded.
XavaExceptionpublic void setDefaultPropertiesNames(java.lang.String properties)
public void setPropertiesNames(java.lang.String properties)
public java.lang.String getSelect()
throws XavaException
XavaException
public java.util.Collection getCmpFieldsColumnsInMultipleProperties()
throws XavaException
XavaExceptionpublic MetaComponent getMetaComponent()
public void setMetaComponent(MetaComponent component)
public boolean isExcludeByKey()
public boolean isExcludeAll()
public void setExcludeByKey(boolean excludeByKey)
public void setExcludeAll(boolean excludeAll)
public java.lang.String getName()
public void setName(java.lang.String name)
public MetaFilter getMetaFilter()
public void setMetaFilter(MetaFilter metaFilter)
public boolean hasFilter()
public void addMetaProperty(MetaProperty metaProperty)
public void addProperty(java.lang.String propertyName)
public void addProperty(int index,
java.lang.String propertyName)
public void removeProperty(java.lang.String propertyName)
public void removeProperty(int index)
public void movePropertyToRight(int index)
public void movePropertyToLeft(int index)
public void clearProperties()
public void restoreDefaultProperties()
public java.lang.String getBaseCondition()
public void setBaseCondition(java.lang.String string)
public boolean hasBaseCondition()
public java.lang.Object filter(java.lang.Object[] objects)
throws FilterException,
XavaException
It's used to filter arguments.
FilterException
XavaExceptionpublic java.lang.String getId()
public java.lang.String getDefaultOrder()
public void setDefaultOrder(java.lang.String defaultOrder)
public boolean hasDefaultOrder()
public MetaTab cloneMetaTab()
public java.util.List getRemainingPropertiesNames()
throws XavaException
XavaExceptionpublic void addMetaRowStyle(MetaRowStyle style)
public void setMetaRowStyles(java.util.Collection styles)
public boolean hasRowStyles()
public java.util.Collection getMetaRowStyles()
public java.lang.String getModelName()
public void setModelName(java.lang.String modelName)
throws XavaException
XavaExceptionpublic void setDefaultValues()
public java.util.Collection<java.lang.String> getSumPropertiesNames()
It was renamed in v4.3 from getTotalPropertiesNames() to getSumPropertiesNames()
public java.lang.String getEditor()
public void setEditor(java.lang.String editor)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||