|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectspcp7.imagegallery.view.managedbean.helper.PropertyWrapper
public class PropertyWrapper
Wraps PropertyModelFace for use within view.
| Constructor Summary | |
|---|---|
PropertyWrapper(PropertyModelFace propertyModel,
EditBean editBean)
Standard constructor. |
|
| Method Summary | |
|---|---|
void |
browseContent(javax.faces.event.ActionEvent ae)
JSF callable method which should be called if the property is browseable and content should be selected. |
int |
compareTo(PropertyWrapper o)
To allow sorting the keys ( PropertyModelFace.getSchluessel() )
are compared. |
PropertyModelFace |
getPropertyModel()
|
boolean |
isBool()
This is needed because JSF cannot handle Boolean objects. |
boolean |
isBrowseable()
This is needed because JSF cannot handle Boolean objects. |
boolean |
isDeletable()
This is needed because JSF cannot handle Boolean objects. |
boolean |
isFolderSelection()
This is needed because JSF cannot handle Boolean objects. |
boolean |
isImageSelection()
This is needed because JSF cannot handle Boolean objects. |
boolean |
isNumber()
This is needed because JSF cannot handle Boolean objects. |
boolean |
isSelected()
|
boolean |
isUrlSelection()
This is needed because JSF cannot handle Boolean objects. |
boolean |
isVisible()
This is needed because JSF cannot handle Boolean objects. |
void |
setBrowseable(boolean browseable)
This is needed because JSF cannot handle Boolean objects. |
void |
setPropertyModel(PropertyModelFace propertyModel)
This is needed because JSF cannot handle Boolean objects. |
void |
setSelected(boolean selected)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PropertyWrapper(PropertyModelFace propertyModel,
EditBean editBean)
propertyModel - the property model which should be wrapped.editBean - The corresponding managed/backing bean.| Method Detail |
|---|
public void browseContent(javax.faces.event.ActionEvent ae)
PropertyModelFace.getBrowseable() is set to false.
ae - public boolean isSelected()
public void setSelected(boolean selected)
selected - public int compareTo(PropertyWrapper o)
PropertyModelFace.getSchluessel() )
are compared.
compareTo in interface java.lang.Comparable<PropertyWrapper>Comparable.compareTo(java.lang.Object)public boolean isDeletable()
public boolean isBool()
public boolean isNumber()
public boolean isFolderSelection()
public boolean isUrlSelection()
public boolean isImageSelection()
public boolean isVisible()
public PropertyModelFace getPropertyModel()
public void setPropertyModel(PropertyModelFace propertyModel)
public boolean isBrowseable()
public void setBrowseable(boolean browseable)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||