| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.datatools.sqltools.sqlbuilder.model.ControlStateInfo
public class ControlStateInfo
Defines the UI state of a control in the SQL query builder.
| Field Summary | 
|---|
| Fields inherited from interface org.eclipse.datatools.sqltools.sqlbuilder.model.IControlStateInfo | 
|---|
| CONTROL_STATE_UNKNOWN_VALUE, DESIGN_CONTROL, GRAPHICAL_CONTROL, OUTLINE_CONTROL, SOURCE_CONTROL | 
| Constructor Summary | |
|---|---|
| ControlStateInfo()No parameter constructor for ControlStateInfo | |
| ControlStateInfo(int controlType)Constructor for ControlStateInfo with parameter for controlType member field. | |
| ControlStateInfo(int controlType,
                 boolean visible,
                 boolean hideable,
                 int width,
                 int height)Constructor for ControlStateInfo with parameters for all member fields. | |
| Method Summary | |
|---|---|
|  int | getControlType()Returns the type of section control for this state information. | 
|  int | getHeight()Returns the height of the control. | 
|  int | getWidth()Returns the width of the control. | 
|  boolean | isHideable()Indicates whether the UI option should be present to hide or restore the control. | 
|  boolean | isVisible()Indicates the visibility state of the control. | 
|  void | setControlType(int controlType)Sets the type of section control for this state information. | 
|  void | setHeight(int height)Sets the height of the control. | 
|  void | setIsHideable(boolean isHideable)Sets whether the UI option should be present to hide or restore the control. | 
|  void | setIsVisible(boolean isVisible)Sets the visibility state of the control. | 
|  void | setWidth(int width)Sets the width of the control. | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public ControlStateInfo()
public ControlStateInfo(int controlType,
                        boolean visible,
                        boolean hideable,
                        int width,
                        int height)
controlType - An IControlStateInfo.*_CONTROL constant defined for 
                one of the section controls, for example, IControlStateInfo.SOURCE_CONTROL.visible - hideable - width - height - public ControlStateInfo(int controlType)
controlType - An IControlStateInfo.*_CONTROL constant defined for 
 one of the section controls, for example, IControlStateInfo.SOURCE_CONTROL.| Method Detail | 
|---|
public int getControlType()
IControlStateInfo
getControlType in interface IControlStateInfoIControlStateInfo.SOURCE_CONTROL.public void setControlType(int controlType)
IControlStateInfo
setControlType in interface IControlStateInfocontrolType - An IControlStateInfo.*_CONTROL constant defined for 
 one of the section controls, for example, IControlStateInfo.SOURCE_CONTROL.public int getHeight()
IControlStateInfo
getHeight in interface IControlStateInfoIControlStateInfo.CONTROL_STATE_UNKNOWN_VALUE if value is not known.public void setHeight(int height)
IControlStateInfo
setHeight in interface IControlStateInfopublic int getWidth()
IControlStateInfo
getWidth in interface IControlStateInfoIControlStateInfo.CONTROL_STATE_UNKNOWN_VALUE if value is not known.public void setWidth(int width)
IControlStateInfo
setWidth in interface IControlStateInfopublic boolean isVisible()
IControlStateInfo
isVisible in interface IControlStateInfopublic void setIsVisible(boolean isVisible)
IControlStateInfo
setIsVisible in interface IControlStateInfoisVisible - true if the control is visible; false otherwisepublic boolean isHideable()
IControlStateInfo
isHideable in interface IControlStateInfopublic void setIsHideable(boolean isHideable)
IControlStateInfo
setIsHideable in interface IControlStateInfoisHideable - true if the UI option to hide or restore the control should be present; 
          false otherwise.| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||