|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.uni_paderborn.fujaba.fsa.swing.OperationIcon
Renders icons for operations such as equal, not equal, etc. This class uses a singleton pattern, see OperationIcon.get().
Field Summary | |
static int |
EQUAL
flags for appearance and types |
static int |
LSUBSET
No comment provided by developer, please add a comment to improve documentation. |
static int |
LSUBSETEQUAL
No comment provided by developer, please add a comment to improve documentation. |
static int |
NONEQUAL
No comment provided by developer, please add a comment to improve documentation. |
static int |
RSUBSET
No comment provided by developer, please add a comment to improve documentation. |
static int |
RSUBSETEQUAL
No comment provided by developer, please add a comment to improve documentation. |
Method Summary | |
static OperationIcon |
get(int shape)
Returns an instance of this class with the given shape. |
int |
getIconHeight()
Returns the height of this icon |
int |
getIconWidth()
Returns the width of this icon |
int |
getShape()
Returns the shape of this icon |
void |
paintIcon(java.awt.Component c,
java.awt.Graphics g,
int x,
int y)
Paints this icon at the given position |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final transient int EQUAL
public static final transient int NONEQUAL
public static final transient int LSUBSET
public static final transient int RSUBSET
public static final transient int LSUBSETEQUAL
public static final transient int RSUBSETEQUAL
Method Detail |
public static OperationIcon get(int shape)
shape
- shape to use for this icon.
public int getShape()
public int getIconWidth()
getIconWidth
in interface javax.swing.Icon
public int getIconHeight()
getIconHeight
in interface javax.swing.Icon
public void paintIcon(java.awt.Component c, java.awt.Graphics g, int x, int y)
paintIcon
in interface javax.swing.Icon
c
- No description providedg
- No description providedx
- No description providedy
- No description provided
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |