public abstract class EditorTool
extends java.lang.Object
implements java.awt.event.MouseListener, java.awt.event.MouseMotionListener
Modifier and Type | Field and Description |
---|---|
protected javax.swing.JComponent |
owner |
static java.awt.Dimension |
SMALL_BTN_SIZE |
Constructor and Description |
---|
EditorTool(javax.swing.JComponent targetEditor)
Constructor method
|
Modifier and Type | Method and Description |
---|---|
abstract javax.swing.AbstractButton |
getButton() |
abstract java.awt.Cursor |
getCursor()
Returns the cursor
|
abstract java.lang.String |
getID() |
abstract boolean |
isSuitableFor(java.lang.Object obj) |
void |
mouseClicked(java.awt.event.MouseEvent e) |
void |
mouseEntered(java.awt.event.MouseEvent e) |
void |
mouseExited(java.awt.event.MouseEvent e) |
void |
mouseMoved(java.awt.event.MouseEvent e) |
abstract void |
setModel(java.lang.Object objectToBeEdited) |
public static final java.awt.Dimension SMALL_BTN_SIZE
protected javax.swing.JComponent owner
public EditorTool(javax.swing.JComponent targetEditor)
targetEditor
- public abstract java.awt.Cursor getCursor()
public void mouseClicked(java.awt.event.MouseEvent e)
mouseClicked
in interface java.awt.event.MouseListener
public void mouseEntered(java.awt.event.MouseEvent e)
mouseEntered
in interface java.awt.event.MouseListener
public void mouseExited(java.awt.event.MouseEvent e)
mouseExited
in interface java.awt.event.MouseListener
public void mouseMoved(java.awt.event.MouseEvent e)
mouseMoved
in interface java.awt.event.MouseMotionListener
public abstract javax.swing.AbstractButton getButton()
public abstract boolean isSuitableFor(java.lang.Object obj)
public abstract java.lang.String getID()
public abstract void setModel(java.lang.Object objectToBeEdited)