|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An SCWebLink is a specialized button with the look and feel of a web browser weblink which will launch URLs. It can be set up in the Screen Customizer Studio to look like a hypertext link.
Fields inherited from interface com.ibm.hi.customizer.beans.scci.SCButton |
BALL, DYNAMIC, LABEL, STANDARD |
Fields inherited from interface com.ibm.hi.customizer.beans.scci.SCImage |
BOTH, HORIZONTAL, NONE, TOFIT, VERTICAL |
Method Summary | |
java.awt.Color |
getMouseOverColor()
Gets the mouse over color. |
int |
getStyle()
Returns the display style for the component. |
java.awt.Color |
getVisitedColor()
Gets the visited color. |
boolean |
isLaunchNewBrowser()
Gets the launch new browser flag. |
boolean |
isVisited()
Gets the visited flag. |
void |
setLaunchNewBrowser(boolean newBrowser)
Sets launch new browser flag. |
void |
setMouseOverColor(java.awt.Color color)
Sets the mouseover color. |
void |
setStyle(int style)
Sets the display style for the component. |
void |
setVisited(boolean visited)
Sets the visited flag. |
void |
setVisitedColor(java.awt.Color color)
Sets the visited color. |
Methods inherited from interface com.ibm.hi.customizer.beans.scci.SCButton |
doClick, getMacro, isTransparent, isUnderlined, setMacro, setTransparent, setUnderlined |
Methods inherited from interface com.ibm.hi.customizer.beans.scci.SCCustomComponent |
getBackgroundColor, getCaption, getForegroundColor, getGlobalRead, getGlobalWrite, getHelpCaption, getHostLinkLength, getHostLinkPosition, getTabNumber, hasFocus, isTempHidden, isVisible, readGlobalVariable, requestFocus, setBackgroundColor, setCaption, setForegroundColor, setGlobalRead, setGlobalWrite, setHelpCaption, setTempHidden, setVisible, toString, writeGlobalVariable |
Methods inherited from interface com.ibm.hi.customizer.beans.scci.SCImage |
getDisplayImage, getImage, getImageFileName, getLayoutType, setImage, setImage, setImageFileName, setImageFileName, setLayoutType |
Method Detail |
public void setStyle(int style)
style
- the display style.
Use LABEL for a web link that looks like a label,
STANDARD for a normal button,
and DYNAMIC for a dynamic, roll-over button.SCButton.LABEL
,
SCButton.STANDARD
,
SCButton.DYNAMIC
public int getStyle()
setStyle(int)
public void setVisited(boolean visited)
visited
- whether this SCWeblink has been visitedisVisited()
public boolean isVisited()
true
if the weblink has been visited; false
otherwisesetVisited(boolean)
public void setVisitedColor(java.awt.Color color)
color
- the visited colorgetVisitedColor()
public java.awt.Color getVisitedColor()
public void setMouseOverColor(java.awt.Color color)
color
- the mouse over colorgetMouseOverColor()
public java.awt.Color getMouseOverColor()
setMouseOverColor(java.awt.Color)
public void setLaunchNewBrowser(boolean newBrowser)
true
the SCWebLink
will open a new browser window when opening a webpage; otherwise, the webpage
will be opened in the same browser window.newBrowser
- the new browser flagisLaunchNewBrowser()
public boolean isLaunchNewBrowser()
setLaunchNewBrowser(boolean)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |