|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.as400.ui.tools.OptionsDialogBean
public class OptionsDialogBean extends Object implements DataBean
Constructor and Description |
---|
OptionsDialogBean()
|
OptionsDialogBean(com.ibm.as400.ui.tools.GUIBuilder builder)
|
Modifier and Type | Method and Description |
---|---|
Capabilities |
getCapabilities()
Returns a Capabilities object which identifies
the attributes that aren't supported by this DataBean . |
String |
getCompilerClasspath()
|
String |
getCompilerClasspathSpecifier()
|
String |
getCompilerExecutable()
|
String |
getCompilerOtherOptions()
|
int |
getGridHeight()
|
int |
getGridWidth()
|
int |
getMarginsBottom()
|
int |
getMarginsLeft()
|
int |
getMarginsRight()
|
int |
getMarginsTop()
|
Vector |
getMRU()
|
int |
getMRUSize()
|
Rectangle |
getPropertyDialogBounds()
|
boolean |
isDefaultPanelButtons()
|
void |
load()
Initializes this object. |
void |
loadDefaults()
|
boolean |
loadedCompilerConfiguration()
|
void |
save()
Saves all changes that have been applied to this object via its accessor methods. |
void |
setCompilerClasspath(String s)
|
void |
setCompilerClasspathSpecifier(String s)
|
void |
setCompilerExecutable(String s)
|
void |
setCompilerOtherOptions(String s)
|
void |
setDefaultPanelButtons(boolean b)
|
void |
setGridHeight(int i)
|
void |
setGridWidth(int i)
|
void |
setMarginsBottom(int i)
|
void |
setMarginsLeft(int i)
|
void |
setMarginsRight(int i)
|
void |
setMarginsTop(int i)
|
void |
setMRU(Vector v)
|
void |
setMRUSize(int i)
|
void |
setPropertyDialogBounds(Rectangle r)
|
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 OptionsDialogBean()
public OptionsDialogBean(com.ibm.as400.ui.tools.GUIBuilder builder)
Method Detail |
---|
public int getGridWidth()
public void setGridWidth(int i)
public int getGridHeight()
public void setGridHeight(int i)
public int getMarginsTop()
public void setMarginsTop(int i)
public int getMarginsLeft()
public void setMarginsLeft(int i)
public int getMarginsBottom()
public void setMarginsBottom(int i)
public int getMarginsRight()
public void setMarginsRight(int i)
public boolean isDefaultPanelButtons()
public void setDefaultPanelButtons(boolean b)
public String getCompilerExecutable()
public void setCompilerExecutable(String s)
public String getCompilerClasspathSpecifier()
public void setCompilerClasspathSpecifier(String s)
public String getCompilerClasspath()
public void setCompilerClasspath(String s)
public String getCompilerOtherOptions()
public void setCompilerOtherOptions(String s)
public Rectangle getPropertyDialogBounds()
public void setPropertyDialogBounds(Rectangle r)
public Vector getMRU()
public void setMRU(Vector v)
public int getMRUSize()
public void setMRUSize(int i)
public boolean loadedCompilerConfiguration()
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
public void save()
DataBean
save
in interface DataBean
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 loadDefaults()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |