|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.izforge.izpack.panels.userinput.field.AbstractFieldView
public abstract class AbstractFieldView
Abstract implementation of FieldView.
| Constructor Summary | |
|---|---|
AbstractFieldView(Field field)
Constructs an AbstractFieldView. |
|
| Method Summary | |
|---|---|
Field |
getField()
Returns the field. |
String |
getSummaryKey()
Returns the summary key associated with the field. |
String |
getVariable()
Returns the variable associated with the field. |
boolean |
isDisplayed()
Determines if the view is being displayed. |
boolean |
isReadonly()
Determines if the view is read-only. |
void |
setDisplayed(boolean displayed)
Determines if the view is being displayed. |
void |
setReadonly(boolean readonly)
Set the view read-only or not. |
void |
setVariable(String newVariableName)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractFieldView(Field field)
AbstractFieldView.
field - the field| Method Detail |
|---|
public Field getField()
getField in interface FieldViewpublic String getVariable()
null if the field doesn't update a variablepublic void setVariable(String newVariableName)
public String getSummaryKey()
null if the field doesn't update a summarypublic boolean isDisplayed()
FieldView
isDisplayed in interface FieldViewtrue if the view is being displayedpublic void setDisplayed(boolean displayed)
FieldView
setDisplayed in interface FieldViewdisplayed - true if the view is being displayedpublic boolean isReadonly()
FieldView
isReadonly in interface FieldViewtrue if the view is read-onlypublic void setReadonly(boolean readonly)
FieldView
setReadonly in interface FieldView
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||