edu.cmu.hcii.calo.view.JLinkButton Class Reference

List of all members.

Detailed Description

A button that displays itself as a text link that can be clicked on.

Lifted almost entirely from http://www.java2s.com/Code/Java/Swing-Components/LinkButton.htm.

Essentially undocumented for this reason; its functionality should be fairly apparent, however.

Author:
Unknown


Public Member Functions

 JLinkButton (Action action)
 JLinkButton (Icon icon)
 JLinkButton (Icon icon, URL url)
 JLinkButton (String s)
 JLinkButton (String text, Icon icon, URL url)
 JLinkButton (String s, URL url)
 JLinkButton (URL url)
Color getActiveLinkColor ()
Action getDefaultAction ()
Color getDisabledLinkColor ()
int getLinkBehavior ()
Color getLinkColor ()
URL getLinkURL ()
String getUIClassID ()
Color getVisitedLinkColor ()
boolean isLinkVisited ()
void setActiveLinkColor (Color colorNew)
void setDefaultAction (Action actionNew)
void setDisabledLinkColor (Color color)
void setLinkBehavior (int bnew)
void setLinkColor (Color color)
void setLinkURL (URL url)
void setLinkVisited (boolean flagNew)
void setVisitedLinkColor (Color colorNew)
void updateUI ()

Static Public Member Functions

static void main (String[] a)

Static Public Attributes

static final int ALWAYS_UNDERLINE = 0
static final int HOVER_UNDERLINE = 1
static final int NEVER_UNDERLINE = 2
static final int SYSTEM_DEFAULT = 3

Protected Member Functions

String paramString ()
void setupToolTipText ()

Private Member Functions

void checkLinkBehaviour (int beha)
void setDefault ()

Private Attributes

int linkBehavior
Color linkColor
Color colorPressed
Color visitedLinkColor
Color disabledLinkColor
URL buttonURL
Action defaultAction
boolean isLinkVisited

Static Private Attributes

static final long serialVersionUID = 7650370615791804158L
 Prevents serialization collisions.
static final String uiString = "LinkButtonUI"


Member Data Documentation

final long edu.cmu.hcii.calo.view.JLinkButton.serialVersionUID = 7650370615791804158L [static, private]

Prevents serialization collisions.


The documentation for this class was generated from the following file:
Generated on Mon Aug 13 15:06:22 2007 for CALO by  doxygen 1.5.2