|
|||||||||||
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
Base UI for JLines. New UIs for JLines must extend this class or subclasses of this class.
Field Summary | |
static java.awt.Stroke |
PLAIN_STROKE
No comment provided by developer, please add a comment to improve documentation. |
Constructor Summary | |
LineUI()
|
Method Summary | |
boolean |
contains(javax.swing.JComponent c,
int x,
int y)
No comment provided by developer, please add a comment to improve documentation. |
java.awt.Rectangle |
getPreferredBounds(javax.swing.JComponent c)
Returns the preferred bounds for the given JLine, considering the preferred line bounds as given by getPreferredLineBounds and the child components of the JLine. |
abstract java.awt.Rectangle |
getPreferredLineBounds(JLine c)
Returns the preferred bounds of the given JLine, based on its start and end points. |
java.awt.Dimension |
getPreferredSize(javax.swing.JComponent c)
Returns the optimal size of the given JLine. |
void |
paint(java.awt.Graphics g,
javax.swing.JComponent c)
Paints the given compontent, and especially the line using paintLine() |
abstract void |
paintLine(java.awt.Graphics g,
JLine c)
Interface for drawing the line of the JLine. |
Methods inherited from class javax.swing.plaf.ComponentUI |
createUI, 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 |
Field Detail |
public static final java.awt.Stroke PLAIN_STROKE
Constructor Detail |
public LineUI()
Method Detail |
public boolean contains(javax.swing.JComponent c, int x, int y)
c
- No description providedx
- No description providedy
- No description provided
public java.awt.Dimension getPreferredSize(javax.swing.JComponent c)
c
- A JComponent for which the preferred size should be determined. Must be a JLine
for this class.
public java.awt.Rectangle getPreferredBounds(javax.swing.JComponent c)
c
- No description provided
getPreferredLineBounds(de.uni_paderborn.fujaba.fsa.swing.JLine)
public abstract java.awt.Rectangle getPreferredLineBounds(JLine c)
c
- A JComponent for which the preferred bounds should be determined. Must be a
JLine for this class.
public void paint(java.awt.Graphics g, javax.swing.JComponent c)
c
- A JComponent that should be drawn. Must be a JLine for this class.g
- No description providedpublic abstract void paintLine(java.awt.Graphics g, JLine c)
g
- No description providedc
- No description provided
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |