com.ibm.as400.ui.tools
Class OptionsDialogBean

java.lang.Object
  extended by com.ibm.as400.ui.tools.OptionsDialogBean
All Implemented Interfaces:
DataBean

public class OptionsDialogBean
extends Object
implements DataBean


Constructor Summary
Constructor and Description
OptionsDialogBean()
           
OptionsDialogBean(com.ibm.as400.ui.tools.GUIBuilder builder)
           
 
Method Summary
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

OptionsDialogBean

public OptionsDialogBean()

OptionsDialogBean

public OptionsDialogBean(com.ibm.as400.ui.tools.GUIBuilder builder)
Method Detail

getGridWidth

public int getGridWidth()

setGridWidth

public void setGridWidth(int i)

getGridHeight

public int getGridHeight()

setGridHeight

public void setGridHeight(int i)

getMarginsTop

public int getMarginsTop()

setMarginsTop

public void setMarginsTop(int i)

getMarginsLeft

public int getMarginsLeft()

setMarginsLeft

public void setMarginsLeft(int i)

getMarginsBottom

public int getMarginsBottom()

setMarginsBottom

public void setMarginsBottom(int i)

getMarginsRight

public int getMarginsRight()

setMarginsRight

public void setMarginsRight(int i)

isDefaultPanelButtons

public boolean isDefaultPanelButtons()

setDefaultPanelButtons

public void setDefaultPanelButtons(boolean b)

getCompilerExecutable

public String getCompilerExecutable()

setCompilerExecutable

public void setCompilerExecutable(String s)

getCompilerClasspathSpecifier

public String getCompilerClasspathSpecifier()

setCompilerClasspathSpecifier

public void setCompilerClasspathSpecifier(String s)

getCompilerClasspath

public String getCompilerClasspath()

setCompilerClasspath

public void setCompilerClasspath(String s)

getCompilerOtherOptions

public String getCompilerOtherOptions()

setCompilerOtherOptions

public void setCompilerOtherOptions(String s)

getPropertyDialogBounds

public Rectangle getPropertyDialogBounds()

setPropertyDialogBounds

public void setPropertyDialogBounds(Rectangle r)

getMRU

public Vector getMRU()

setMRU

public void setMRU(Vector v)

getMRUSize

public int getMRUSize()

setMRUSize

public void setMRUSize(int i)

loadedCompilerConfiguration

public boolean loadedCompilerConfiguration()

getCapabilities

public Capabilities getCapabilities()
Description copied from interface: DataBean
Returns a 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 HandlerTasks, which the UI framework is to perform. Typically these involve disabling or removing certain UI components from a panel.

Specified by:
getCapabilities in interface DataBean
Returns:
a Capabilities object which reflects this object's capabilities
See Also:
Capabilities

verifyChanges

public void verifyChanges()
Description copied from interface: DataBean
Validates any changes that have been applied to this object via its accessor methods.

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 DataBeans associated with a given panel. If an inconsistency is discovered the DataBean should throw an exception. This will prevent the changes from being committed.

Specified by:
verifyChanges in interface DataBean

save

public void save()
Description copied from interface: DataBean
Saves all changes that have been applied to this object via its accessor methods. Called when the user has clicked the OK button on a panel.

Specified by:
save in interface DataBean

load

public void load()
Description copied from interface: DataBean
Initializes this object.

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.

Specified by:
load in interface DataBean

loadDefaults

public void loadDefaults()