|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
SCCustomComponent is the ultimate base of all Screen Customizer (SC) components.
SCFrame
,
SCTextComponent
,
SCButton
,
SCImage
,
SCCheckbox
,
SCSelection
Method Summary | |
java.awt.Color |
getBackgroundColor()
Gets the background color. |
java.lang.String |
getCaption()
Gets the displayed caption. |
java.awt.Color |
getForegroundColor()
Gets the foreground color. |
java.lang.String |
getGlobalRead()
Gets the global variable the component reads from. |
java.lang.String |
getGlobalWrite()
Gets the global variable the component writes to. |
java.lang.String |
getHelpCaption()
Gets the help caption. |
int |
getHostLinkLength()
Gets the host-link length. |
int |
getHostLinkPosition()
Gets the host-link position. |
int |
getTabNumber()
Gets the tab number. |
boolean |
hasFocus()
Determines if this component has focus or not. |
boolean |
isTempHidden()
Gets the value of temporary hidden fields |
boolean |
isVisible()
Gets the visibility of this component. |
void |
readGlobalVariable()
Sets the component's value to be that of its associated global read variable. |
void |
requestFocus()
Sends a request focus to the component. |
void |
setBackgroundColor(java.awt.Color c)
Sets the background color. |
void |
setCaption(java.lang.String caption)
Sets the displayed caption. |
void |
setForegroundColor(java.awt.Color c)
Sets the foreground color. |
void |
setGlobalRead(java.lang.String var)
Sets the global variable the component reads from. |
void |
setGlobalWrite(java.lang.String var)
Sets the global variable the component writes to. |
void |
setHelpCaption(java.lang.String helpCaption)
Sets the help text to be displayed in the status bar on a mouseover. |
void |
setTempHidden(boolean b)
Sets visibililty of this Hidden component. |
void |
setVisible(boolean b)
Sets visibililty of this component. |
java.lang.String |
toString()
Gets a descriptive string. |
void |
writeGlobalVariable()
Writes the component's current value to its global write variable. |
Method Detail |
public java.lang.String toString()
toString
in class java.lang.Object
public void setCaption(java.lang.String caption)
caption
- the caption to set.getCaption()
public java.lang.String getCaption()
setCaption(java.lang.String)
public void setHelpCaption(java.lang.String helpCaption)
helpCaption
- the help caption to set.getHelpCaption()
public java.lang.String getHelpCaption()
setHelpCaption(java.lang.String)
public java.lang.String getGlobalRead()
public void setGlobalRead(java.lang.String var)
var
- the variable namepublic java.lang.String getGlobalWrite()
public void setGlobalWrite(java.lang.String var)
var
- the variable namepublic void writeGlobalVariable()
public void readGlobalVariable()
public void setForegroundColor(java.awt.Color c)
c
- the foreground color to setgetForegroundColor()
,
setBackgroundColor(java.awt.Color)
public java.awt.Color getForegroundColor()
setForegroundColor(java.awt.Color)
,
getBackgroundColor()
public void setBackgroundColor(java.awt.Color c)
c
- the background color to setgetBackgroundColor()
,
setForegroundColor(java.awt.Color)
public java.awt.Color getBackgroundColor()
setBackgroundColor(java.awt.Color)
,
getForegroundColor()
public void requestFocus()
hasFocus()
public boolean hasFocus()
true
if this component has focus
false
if this component does not have focusrequestFocus()
public void setVisible(boolean b)
b
- a value of true
will show the component;
false
will hide it.isVisible()
public boolean isVisible()
true
if the component is visible, or
false
if the component is not visiblepublic void setTempHidden(boolean b)
b
- a value of true
will hide the component;
false
will show it.isVisible()
public boolean isTempHidden()
true
if the component is hidden, or
false
if the component is not hiddenpublic int getTabNumber()
public int getHostLinkPosition()
-1
if there is no host-linked fieldpublic int getHostLinkLength()
-1
if there is no host-linked field
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |