All Packages Class Hierarchy This Package Previous Next Index
Interface com.ibm.hi.customizer.beans.scci.SCWebLink
- public interface SCWebLink
- extends SCButton, SCImage
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.
-
getMouseOverColor()
- Gets the mouse over color.
-
getStyle()
- Returns the display style for the component.
-
getVisitedColor()
- Gets the visited color.
-
isLaunchNewBrowser()
- Gets the launch new browser flag.
-
isVisited()
- Gets the visited flag.
-
setLaunchNewBrowser(boolean)
- Sets launch new browser flag.
-
setMouseOverColor(Color)
-
Sets the mouseover color.
-
setStyle(int)
- Sets the display style for the component.
-
setVisited(boolean)
- Sets the visited flag.
-
setVisitedColor(Color)
- Sets the visited color.
setStyle
public abstract void setStyle(int style)
- Sets the display style for the component.
- Parameters:
-
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.
- See Also:
- LABEL, STANDARD, DYNAMIC
getStyle
public abstract int getStyle()
- Returns the display style for the component.
- Returns:
- the display style
- See Also:
- setStyle
setVisited
public abstract void setVisited(boolean visited)
- Sets the visited flag.
- Parameters:
-
visited
- whether this SCWeblink has been visited
- See Also:
- isVisited
isVisited
public abstract boolean isVisited()
- Gets the visited flag.
- Returns:
-
true
if the weblink has been visited; false
otherwise
- See Also:
- setVisited
setVisitedColor
public abstract void setVisitedColor(Color color)
- Sets the visited color.
- Parameters:
-
color
- the visited color
- See Also:
- getVisitedColor
getVisitedColor
public abstract Color getVisitedColor()
- Gets the visited color.
- Returns:
- the visited color
setMouseOverColor
public abstract void setMouseOverColor(Color color)
- Sets the mouseover color. When the mouse is moved
over the weblink, the color will change to use the
mouseover color.
- Parameters:
-
color
- the mouse over color
- See Also:
- getMouseOverColor
getMouseOverColor
public abstract Color getMouseOverColor()
- Gets the mouse over color.
- Returns:
- the mouseover color
- See Also:
- setMouseOverColor
setLaunchNewBrowser
public abstract void setLaunchNewBrowser(boolean newBrowser)
- Sets launch new browser flag. If the flag is
true
the SCWebLink
will open a new browser window when opening a webpage; otherwise, the webpage
will be opened in the same browser window.
- Parameters:
-
newBrowser
- the new browser flag
- See Also:
- isLaunchNewBrowser
isLaunchNewBrowser
public abstract boolean isLaunchNewBrowser()
- Gets the launch new browser flag.
- Returns:
- the launch new browser flag
- See Also:
- setLaunchNewBrowser
All Packages Class Hierarchy This Package Previous Next Index