|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.as400.ui.tools.PDMLViewerBean
public class PDMLViewerBean extends Object implements Serializable, DataBean
Constructor and Description |
---|
PDMLViewerBean()
|
Modifier and Type | Method and Description |
---|---|
Capabilities |
getCapabilities()
Returns a Capabilities object which identifies
the attributes that aren't supported by this DataBean . |
String |
getCountry()
|
ChoiceDescriptor[] |
getCountryChoices()
|
boolean |
getHelp()
|
String |
getLanguage()
|
ChoiceDescriptor[] |
getLanguageChoices()
|
ItemDescriptor[] |
getNamesList()
|
String |
getPDML()
|
String |
getRC()
|
String |
getResourceName()
|
String |
getResourceType()
|
boolean |
getSerialize()
|
String |
getViewPDML()
|
String |
getViewType()
|
void |
load()
Initializes this object. |
void |
save()
Saves all changes that have been applied to this object via its accessor methods. |
void |
setCountry(String s)
|
void |
setHelp(boolean b)
|
void |
setLanguage(String s)
|
void |
setNamesList(ItemDescriptor[] items)
|
void |
setPDML(String s)
|
void |
setRC(String s)
|
void |
setResourceName(String s)
|
void |
setResourceType(String s)
|
void |
setSerialize(boolean b)
|
void |
setViewPDML(String s)
|
void |
setViewType(String s)
|
void |
verifyChanges()
Validates any changes that have been applied to this object via its accessor methods. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PDMLViewerBean()
Method Detail |
---|
public void setRC(String s)
public String getRC()
public void setPDML(String s)
public String getPDML()
public void setResourceName(String s)
public String getResourceName()
public void setLanguage(String s)
public String getLanguage()
public ChoiceDescriptor[] getLanguageChoices()
public void setCountry(String s)
public String getCountry()
public ChoiceDescriptor[] getCountryChoices()
public void setViewPDML(String s)
public String getViewPDML()
public void setViewType(String s)
public String getViewType()
public void setResourceType(String s)
public String getResourceType()
public void setSerialize(boolean b)
public boolean getSerialize()
public void setHelp(boolean b)
public boolean getHelp()
public void setNamesList(ItemDescriptor[] items)
public ItemDescriptor[] getNamesList()
public void load()
DataBean
This method should be called prior to handing the DataBean
off to the UI Framework. On return from this method the bean
should be in a state where it is ready to return data on any of
its accessor methods.
load
in interface DataBean
public void save()
DataBean
save
in interface DataBean
public Capabilities getCapabilities()
DataBean
Capabilities
object which identifies
the attributes that aren't supported by this DataBean
.
There are many reasons why a DataBean
might not support
a given attribute. For example:
The Capabilities
object may provide a list
of instructions, or HandlerTask
s, which the
UI framework is to perform. Typically these involve disabling
or removing certain UI components from a panel.
getCapabilities
in interface DataBean
Capabilities
object which reflects this object's capabilitiesCapabilities
public void verifyChanges()
DataBean
This method is called just prior to save
to give
the receiver an opportunity to verify that its data is consistent
with any changes made to other DataBean
s associated
with a given panel. If an inconsistency is discovered the
DataBean
should throw an exception. This will
prevent the changes from being committed.
verifyChanges
in interface DataBean
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |