public class FwkIconButtonModel extends javax.swing.DefaultButtonModel implements FwkInterface, java.awt.event.MouseListener
,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
version |
| Constructor and Description |
|---|
FwkIconButtonModel() |
| Modifier and Type | Method and Description |
|---|---|
FwkArrayInterface |
getFwkMimeTypes() |
java.lang.String |
getParams()
This function returns a string containing all parameters
of the object.
|
boolean |
getSelectEnabled()
Gets the selection enable flag.
|
java.lang.String |
getVersion()
Return the version string of the FWK component.
|
boolean |
isSelectEnabled()
Gets the selection enable flag.
|
void |
mouseClicked(java.awt.event.MouseEvent e)
Invoked when the mouse has been clicked on a component.
|
void |
mouseEntered(java.awt.event.MouseEvent e)
Invoked when the mouse enters a component.
|
void |
mouseExited(java.awt.event.MouseEvent e)
Invoked when the mouse exits a component.
|
void |
mousePressed(java.awt.event.MouseEvent e)
Invoked when a mouse button has been pressed on a component.
|
void |
mouseReleased(java.awt.event.MouseEvent e)
Invoked when a mouse button has been released on a component.
|
void |
release()
Release the object.
|
void |
setDefaults()
This method sets all internal states to the default.
|
void |
setSelected(boolean b)
Set the button as a selected button.
|
void |
setSelectEnabled(boolean flag)
Enable the selection.
|
java.lang.String |
toString()
Get the string representation of the object.
|
addActionListener, addChangeListener, addItemListener, fireActionPerformed, fireItemStateChanged, fireStateChanged, getActionCommand, getActionListeners, getChangeListeners, getGroup, getItemListeners, getListeners, getMnemonic, getSelectedObjects, isArmed, isEnabled, isPressed, isRollover, isSelected, removeActionListener, removeChangeListener, removeItemListener, setActionCommand, setArmed, setEnabled, setGroup, setMnemonic, setPressed, setRolloverpublic static final java.lang.String version
public java.lang.String getVersion()
FwkInterfacegetVersion in interface FwkInterfacepublic FwkArrayInterface getFwkMimeTypes()
public void release()
release in interface FwkInterfacepublic void setSelectEnabled(boolean flag)
flag - If true the selection is enabled.public boolean getSelectEnabled()
public boolean isSelectEnabled()
public void setSelected(boolean b)
setSelected in interface javax.swing.ButtonModelsetSelected in class javax.swing.DefaultButtonModelb - true if the button is selected.public void mouseClicked(java.awt.event.MouseEvent e)
mouseClicked in interface java.awt.event.MouseListenere - The mouse event.public void mouseEntered(java.awt.event.MouseEvent e)
mouseEntered in interface java.awt.event.MouseListenere - The mouse event.public void mouseExited(java.awt.event.MouseEvent e)
mouseExited in interface java.awt.event.MouseListenere - The mouse event.public void mousePressed(java.awt.event.MouseEvent e)
mousePressed in interface java.awt.event.MouseListenere - The mouse event.public void mouseReleased(java.awt.event.MouseEvent e)
mouseReleased in interface java.awt.event.MouseListenere - The mouse event.public java.lang.String getParams()
public void setDefaults()
public java.lang.String toString()
toString in class java.lang.Object