|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openxava.web.layout.LayoutElement
public class LayoutElement
| Constructor Summary | |
|---|---|
LayoutElement(View view,
int groupLevel)
Default constructor. |
|
LayoutElement(View view,
int groupLevel,
LayoutElementType elementType)
Preferred constructor. |
|
| Method Summary | |
|---|---|
java.util.Collection<java.lang.String> |
getActionsNameForProperty()
|
java.util.Collection<java.lang.String> |
getActionsNameForReference()
|
LayoutElementType |
getElementType()
|
int |
getGroupLevel()
|
java.lang.String |
getLabel()
|
int |
getLabelFormat()
|
java.lang.Integer |
getMaxContainerColumnsCount()
This value only makes sense if the layout element is of type LayoutElementType.GROUP_START or LayoutElementType.FRAME_START. |
java.lang.Integer |
getMaxFramesCount()
|
java.lang.Integer |
getMaxRowColumnsCount()
|
java.lang.Integer |
getMaxViewColumnsCount()
|
MetaCollection |
getMetaCollection()
|
MetaProperty |
getMetaProperty()
|
MetaReference |
getMetaReference()
|
java.lang.String |
getName()
|
java.lang.String |
getPropertyKey()
|
java.lang.String |
getPropertyPrefix()
|
java.lang.String |
getReferenceForDescriptionsList()
|
java.lang.Integer |
getRowCurrentColumnsCount()
This value only makes sense if the layout element is of type LayoutElementType.ROW_START. |
java.lang.Integer |
getRowIndex()
|
java.lang.String |
getSearchAction()
|
View |
getView()
|
boolean |
hasActions()
|
boolean |
hasFrame()
|
boolean |
hasSections()
|
boolean |
isCreateNew()
|
boolean |
isDisplayAsDescriptionsList()
|
boolean |
isEditable()
|
boolean |
isLastSearchKey()
|
boolean |
isModify()
|
boolean |
isRowClosed()
|
boolean |
isSearch()
|
boolean |
isSeparator()
|
boolean |
isThrowPropertyChanged()
|
void |
setActions(boolean hasActions)
|
void |
setActionsNameForProperty(java.util.Collection<java.lang.String> actionsNameForProperty)
|
void |
setActionsNameForReference(java.util.Collection<java.lang.String> actionsNameForReference)
|
void |
setCreateNew(boolean createNew)
|
void |
setDisplayAsDescriptionsList(boolean displayAsDescriptionsList)
|
void |
setEditable(boolean editable)
|
void |
setElementType(LayoutElementType elementType)
|
void |
setFrame(boolean hasframe)
|
void |
setGroupLevel(int groupLevel)
|
void |
setLabel(java.lang.String label)
|
void |
setLabelFormat(int labelFormat)
|
void |
setLastSearchKey(boolean lastSearchKey)
|
void |
setMaxContainerColumnsCount(java.lang.Integer maxContainerCellsCount)
|
void |
setMaxFramesCount(java.lang.Integer maxFramesCount)
|
void |
setMaxRowColumnsCount(java.lang.Integer maxRowCellsCount)
|
void |
setMaxViewColumnsCount(java.lang.Integer maxViewColumnsCount)
|
void |
setMetaCollection(MetaCollection metaCollection)
|
void |
setMetaProperty(MetaProperty metaProperty)
|
void |
setMetaReference(MetaReference metaReference)
|
void |
setModify(boolean modify)
|
void |
setName(java.lang.String name)
|
void |
setPropertyKey(java.lang.String propertyKey)
|
void |
setPropertyPrefix(java.lang.String propertyPrefix)
|
void |
setReferenceForDescriptionsList(java.lang.String referenceForDescriptionsList)
|
void |
setRowClosed(boolean rowClosed)
|
void |
setRowCurrentColumnsCount(java.lang.Integer currentRowCellsCount)
|
void |
setRowIndex(java.lang.Integer rowIndex)
|
void |
setSearch(boolean search)
|
void |
setSearchAction(java.lang.String searchAction)
|
void |
setSections(boolean sections)
|
void |
setSeparator(boolean separator)
|
void |
setThrowPropertyChanged(boolean throwPropertyChanged)
|
void |
setView(View view)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LayoutElement(View view,
int groupLevel)
view - Originating view.groupLevel - Group level.
public LayoutElement(View view,
int groupLevel,
LayoutElementType elementType)
view - Originating view.groupLevel - Group level.elementType - Type of element that is being created.| Method Detail |
|---|
public boolean hasSections()
public void setSections(boolean sections)
hasSection - the hasSection to setpublic MetaProperty getMetaProperty()
public void setMetaProperty(MetaProperty metaProperty)
metaProperty - the metaProperty to setpublic MetaReference getMetaReference()
public void setMetaReference(MetaReference metaReference)
metaReference - the metaReference to setpublic MetaCollection getMetaCollection()
public void setMetaCollection(MetaCollection metaCollection)
metaCollection - the metaCollection to setpublic void setActionsNameForReference(java.util.Collection<java.lang.String> actionsNameForReference)
actionsNameForReference - the actionsNameForReference to setpublic java.util.Collection<java.lang.String> getActionsNameForReference()
public void setActionsNameForProperty(java.util.Collection<java.lang.String> actionsNameForProperty)
actionsNameForProperty - the actionsNameForProperty to setpublic java.util.Collection<java.lang.String> getActionsNameForProperty()
public void setActions(boolean hasActions)
actions - the actions to setpublic boolean hasActions()
public boolean hasFrame()
public void setFrame(boolean hasframe)
frame - the frame to setpublic boolean isSeparator()
public void setSeparator(boolean separator)
separator - the separator to setpublic boolean isEditable()
public void setEditable(boolean editable)
editable - the editable to setpublic boolean isSearch()
public void setSearch(boolean search)
search - the search to setpublic void setLastSearchKey(boolean lastSearchKey)
lastSearchKey - the lastSearchKey to setpublic boolean isLastSearchKey()
public boolean isCreateNew()
public void setCreateNew(boolean createNew)
createNew - the createNew to setpublic boolean isModify()
public void setModify(boolean modify)
modify - the modify to setpublic void setThrowPropertyChanged(boolean throwPropertyChanged)
throwPropertyChanged - the throwPropertyChanged to setpublic boolean isThrowPropertyChanged()
public void setDisplayAsDescriptionsList(boolean displayAsDescriptionsList)
displayAsDescriptionsList - the displayAsDescriptionsList to setpublic boolean isDisplayAsDescriptionsList()
public void setLabel(java.lang.String label)
label - the label to setpublic java.lang.String getLabel()
public java.lang.String getSearchAction()
public void setSearchAction(java.lang.String searchAction)
searchAction - the searchAction to setpublic void setLabelFormat(int labelFormat)
labelFormat - the labelFormat to setpublic int getLabelFormat()
public void setPropertyPrefix(java.lang.String propertyPrefix)
propertyPrefix - the propertyPrefix to setpublic java.lang.String getPropertyPrefix()
public void setPropertyKey(java.lang.String propertyKey)
propertyKey - the propertyKey to setpublic java.lang.String getPropertyKey()
public void setReferenceForDescriptionsList(java.lang.String referenceForDescriptionsList)
referenceForDescriptionsList - the referenceForDescriptionsList to setpublic java.lang.String getReferenceForDescriptionsList()
public java.lang.String getName()
public void setName(java.lang.String name)
name - the name to setpublic void setGroupLevel(int groupLevel)
groupLevel - the groupLevel to setpublic int getGroupLevel()
public void setView(View view)
view - the view to setpublic View getView()
public LayoutElementType getElementType()
public void setElementType(LayoutElementType elementType)
elementType - the elementType to setpublic java.lang.Integer getMaxRowColumnsCount()
public void setMaxRowColumnsCount(java.lang.Integer maxRowCellsCount)
maxRowColumnsCount - the maxRowColumnsCount to setpublic java.lang.Integer getRowCurrentColumnsCount()
public void setRowCurrentColumnsCount(java.lang.Integer currentRowCellsCount)
rowCurrentColumnsCount - the rowCurrentColumnsCount to setpublic java.lang.Integer getMaxContainerColumnsCount()
public void setMaxContainerColumnsCount(java.lang.Integer maxContainerCellsCount)
maxContainerColumnsCount - the maxContainerColumnsCount to setpublic java.lang.Integer getMaxViewColumnsCount()
public void setMaxViewColumnsCount(java.lang.Integer maxViewColumnsCount)
maxViewColumnsCount - the maxViewColumnsCount to setpublic java.lang.Integer getMaxFramesCount()
public void setMaxFramesCount(java.lang.Integer maxFramesCount)
maxFramesCount - the maxFramesCount to setpublic java.lang.Integer getRowIndex()
public void setRowIndex(java.lang.Integer rowIndex)
rowIndex - the rowIndex to setpublic boolean isRowClosed()
public void setRowClosed(boolean rowClosed)
rowClosed - the rowClosed to setpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||