fi.hut.tml.xsmiles.gui.components
Interface XLinkComponent

All Superinterfaces:
XComponent
All Known Implementing Classes:
AWTLink, SwingLink

public interface XLinkComponent
extends XComponent


Method Summary
 void addClickedActionListener(java.awt.event.ActionListener al)
           
 void addHoverListener(XHoverListener l)
           
 java.lang.String getDestination()
           
 void setActive(boolean a)
           
 void setDestination(java.lang.String d)
           
 
Methods inherited from interface fi.hut.tml.xsmiles.gui.components.XComponent
addActionListener, addFocusListener, addHelpListener, addMouseListener, getComponent, getEnabled, getHeight, getSize, getStyle, getWidth, getX, getY, removeActionListener, removeFocusListener, removeHelpListener, removeMouseListener, setBackground, setBounds, setEnabled, setFocus, setForeground, setHintText, setInputMode, setStyle, setVisible, setZoom
 

Method Detail

getDestination

public java.lang.String getDestination()
Returns:
The destination where the link points to

setDestination

public void setDestination(java.lang.String d)
Parameters:
d - Set the destination

setActive

public void setActive(boolean a)
Parameters:
a - Is the link active or not

addClickedActionListener

public void addClickedActionListener(java.awt.event.ActionListener al)

addHoverListener

public void addHoverListener(XHoverListener l)
Parameters:
l - Receive event when link has pointer focus or when it is lost


X-Smiles 1.2