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.


Method Index

 o getMouseOverColor()
Gets the mouse over color.
 o getStyle()
Returns the display style for the component.
 o getVisitedColor()
Gets the visited color.
 o isLaunchNewBrowser()
Gets the launch new browser flag.
 o isVisited()
Gets the visited flag.
 o setLaunchNewBrowser(boolean)
Sets launch new browser flag.
 o setMouseOverColor(Color)
Sets the mouseover color.
 o setStyle(int)
Sets the display style for the component.
 o setVisited(boolean)
Sets the visited flag.
 o setVisitedColor(Color)
Sets the visited color.

Methods

 o 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
 o getStyle
 public abstract int getStyle()
Returns the display style for the component.

Returns:
the display style
See Also:
setStyle
 o setVisited
 public abstract void setVisited(boolean visited)
Sets the visited flag.

Parameters:
visited - whether this SCWeblink has been visited
See Also:
isVisited
 o isVisited
 public abstract boolean isVisited()
Gets the visited flag.

Returns:
true if the weblink has been visited; false otherwise
See Also:
setVisited
 o setVisitedColor
 public abstract void setVisitedColor(Color color)
Sets the visited color.

Parameters:
color - the visited color
See Also:
getVisitedColor
 o getVisitedColor
 public abstract Color getVisitedColor()
Gets the visited color.

Returns:
the visited color
 o 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
 o getMouseOverColor
 public abstract Color getMouseOverColor()
Gets the mouse over color.

Returns:
the mouseover color
See Also:
setMouseOverColor
 o 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
 o 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