|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--adavid.swing.FocusableBorder
Constructor Summary | |
FocusableBorder()
|
Method Summary | |
static void |
add(javax.swing.AbstractButton button)
add a button to be monitored |
void |
mouseClicked(java.awt.event.MouseEvent e)
useless methods of listeners |
void |
mouseDragged(java.awt.event.MouseEvent e)
to correct when the mouse is dragged out/in |
void |
mouseEntered(java.awt.event.MouseEvent e)
show the border if the button is enabled |
void |
mouseExited(java.awt.event.MouseEvent e)
hide the border |
void |
mouseMoved(java.awt.event.MouseEvent e)
|
void |
mousePressed(java.awt.event.MouseEvent e)
|
void |
mouseReleased(java.awt.event.MouseEvent e)
to correct the set false if it not selected and we press or release the button |
static void |
remove(javax.swing.AbstractButton button)
remove a button (remove the instance from the button's listener list) |
void |
stateChanged(javax.swing.event.ChangeEvent e)
if the state changes, then an update may be needed |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public FocusableBorder()
Method Detail |
public static void add(javax.swing.AbstractButton button)
public static void remove(javax.swing.AbstractButton button)
public void mouseEntered(java.awt.event.MouseEvent e)
public void mouseExited(java.awt.event.MouseEvent e)
public void stateChanged(javax.swing.event.ChangeEvent e)
public void mouseReleased(java.awt.event.MouseEvent e)
public void mousePressed(java.awt.event.MouseEvent e)
public void mouseDragged(java.awt.event.MouseEvent e)
public void mouseClicked(java.awt.event.MouseEvent e)
public void mouseMoved(java.awt.event.MouseEvent e)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |