|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.plaf.ComponentUI
de.uni_paderborn.fujaba.fsa.swing.LineUI
de.uni_paderborn.fujaba.fsa.swing.DefaultLineUI
de.uni_paderborn.fujaba.fsa.swing.DoubleLineUI
This UI lets a JLine appear as two parrellel lines with a small distance between them. Use createUI() to get an instance of this class.
Field Summary |
Fields inherited from class de.uni_paderborn.fujaba.fsa.swing.LineUI |
PLAIN_STROKE |
Constructor Summary | |
protected |
DoubleLineUI()
Constructor for class DoubleLineUI |
Method Summary | |
boolean |
contains(javax.swing.JComponent c,
int x,
int y)
No comment provided by developer, please add a comment to improve documentation. |
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent c)
Returns an instance of this class for the given JComponent. |
java.awt.Rectangle |
getPreferredLineBounds(JLine line)
Returns the preferred bounds of the given JComponent, using the start and end points of the JComponent. |
void |
paintLine(java.awt.Graphics g,
JLine line)
Paints the two parrallel lines for the given JLine. |
Methods inherited from class de.uni_paderborn.fujaba.fsa.swing.LineUI |
getPreferredBounds, getPreferredSize, paint |
Methods inherited from class javax.swing.plaf.ComponentUI |
getAccessibleChild, getAccessibleChildrenCount, getMaximumSize, getMinimumSize, installUI, uninstallUI, update |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected DoubleLineUI()
Method Detail |
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
c
- the JComponent the LineUI should be returned for.
public boolean contains(javax.swing.JComponent c, int x, int y)
contains
in class LineUI
c
- No description providedx
- No description providedy
- No description provided
public void paintLine(java.awt.Graphics g, JLine line)
paintLine
in class DefaultLineUI
g
- No description providedline
- No description providedpublic java.awt.Rectangle getPreferredLineBounds(JLine line)
getPreferredLineBounds
in class DefaultLineUI
line
- No description provided
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |