|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.datatools.sqltools.sqlbuilder.model.WindowStateInfo
public class WindowStateInfo
Defines the UI state of a window's controls.
| Field Summary | |
|---|---|
static java.lang.String |
CURRENT_VERSION
|
| Constructor Summary | |
|---|---|
WindowStateInfo()
Constructor for WindowStateInfo |
|
| Method Summary | |
|---|---|
static IWindowStateInfo |
decode(java.lang.String code)
Decodes a WindowStateInfo from an encoded String. |
java.lang.String |
encode()
Encodes the given IWindowStateInfo object for persistence. |
IControlStateInfo |
get(int controlType)
Gets the control state information of the specified control type. |
IControlStateInfo[] |
getcontrolStateInfos()
Gets array of all the IControlStateInfos contained in this
IWindowStateInfo |
int |
getHeight()
Returns the overall height of the SQL Query Builder main control. |
java.lang.String |
getVersion()
Returns the version of this window state information. |
int |
getWidth()
Returns the overall width of the SQL Query Builder main control. |
void |
put(int controlType,
IControlStateInfo controlStateInfo)
Stores the control state information for the specified control type. |
void |
remove(int controlType)
Revoves the control state information for the specified control type. |
void |
setHeight(int height)
Sets the overall height of the SQL Query Builder main control. |
void |
setVersion(java.lang.String version)
Sets the version of this window state information. |
void |
setWidth(int width)
Sets the overall width of the SQL Query Builder main control. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String CURRENT_VERSION
| Constructor Detail |
|---|
public WindowStateInfo()
| Method Detail |
|---|
public IControlStateInfo get(int controlType)
IWindowStateInfo
get in interface IWindowStateInfocontrolType - An IControlStateInfo.*_CONTROL constant defined for
one of the section controls, for example, IControlStateInfo.SOURCE_CONTROL.
IControlStateInfo
public void put(int controlType,
IControlStateInfo controlStateInfo)
IWindowStateInfo
put in interface IWindowStateInfocontrolType - An IControlStateInfo.*_CONTROL constant defined for
one of the section controls, for example, IControlStateInfo.SOURCE_CONTROL.controlStateInfo - an IControlStateInfo instance that represents the state
of the specified control type.IControlStateInfopublic void remove(int controlType)
IWindowStateInfo
remove in interface IWindowStateInfocontrolType - An IControlStateInfo.*_CONTROL constant defined for
one of the section controls, for example, IControlStateInfo.SOURCE_CONTROL.IControlStateInfopublic IControlStateInfo[] getcontrolStateInfos()
IWindowStateInfoIControlStateInfos contained in this
IWindowStateInfo
getcontrolStateInfos in interface IWindowStateInfoIControlStateInfopublic java.lang.String getVersion()
IWindowStateInfo
getVersion in interface IWindowStateInfopublic void setVersion(java.lang.String version)
IWindowStateInfo
setVersion in interface IWindowStateInfoversion - version defined by an IWindowStateInfo implementationpublic int getHeight()
IWindowStateInfo
getHeight in interface IWindowStateInfoIControlStateInfo.CONTROL_STATE_UNKNOWN_VALUE if value is not known.public void setHeight(int height)
IWindowStateInfo
setHeight in interface IWindowStateInfopublic int getWidth()
IWindowStateInfo
getWidth in interface IWindowStateInfoIControlStateInfo.CONTROL_STATE_UNKNOWN_VALUE if value is not known.public void setWidth(int width)
IWindowStateInfo
setWidth in interface IWindowStateInfopublic java.lang.String encode()
IWindowStateInfoIWindowStateInfo object for persistence.
encode in interface IWindowStateInfodecode(String)public static IWindowStateInfo decode(java.lang.String code)
WindowStateInfo from an encoded String. The string should
be a serialized XMLMemento for the WindowStateInfo.
code - encoded WindowStateInfo object.
WindowStateInfo objectencode()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||