|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IControlStateInfo
The interface defines the UI state of a section control in the SQL Query Builder.
Field Summary | |
---|---|
static int |
CONTROL_STATE_UNKNOWN_VALUE
Constant for an unknown value of a control state attribute |
static int |
DESIGN_CONTROL
|
static int |
GRAPHICAL_CONTROL
|
static int |
OUTLINE_CONTROL
|
static int |
SOURCE_CONTROL
Constants for the control types |
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. |
Field Detail |
---|
static final int SOURCE_CONTROL
static final int GRAPHICAL_CONTROL
static final int OUTLINE_CONTROL
static final int DESIGN_CONTROL
static final int CONTROL_STATE_UNKNOWN_VALUE
Method Detail |
---|
int getControlType()
SOURCE_CONTROL
.void setControlType(int controlType)
controlType
- An IControlStateInfo.*_CONTROL constant defined for
one of the section controls, for example, SOURCE_CONTROL
.int getHeight()
CONTROL_STATE_UNKNOWN_VALUE
if value is not known.void setHeight(int height)
height
- int getWidth()
CONTROL_STATE_UNKNOWN_VALUE
if value is not known.void setWidth(int width)
width
- boolean isVisible()
void setIsVisible(boolean isVisible)
isVisible
- true if the control is visible; false otherwiseboolean isHideable()
void setIsHideable(boolean isHideable)
isHideable
- 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 |