de.uni_paderborn.fujaba.fsa.swing
Class DottedLineUI

java.lang.Object
  extended byjavax.swing.plaf.ComponentUI
      extended byde.uni_paderborn.fujaba.fsa.swing.LineUI
          extended byde.uni_paderborn.fujaba.fsa.swing.DefaultLineUI
              extended byde.uni_paderborn.fujaba.fsa.swing.DottedLineUI

public class DottedLineUI
extends DefaultLineUI

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.

Version:
$Revision: 1.6 $
Author:
$Author: lowende $

Field Summary
 
Fields inherited from class de.uni_paderborn.fujaba.fsa.swing.LineUI
PLAIN_STROKE
 
Constructor Summary
protected DottedLineUI()
          Constructor for class DottedLineUI
 
Method Summary
static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
          Returns an instance of this class for the given 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.DefaultLineUI
getPreferredLineBounds
 
Methods inherited from class de.uni_paderborn.fujaba.fsa.swing.LineUI
contains, 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

DottedLineUI

protected DottedLineUI()
Constructor for class DottedLineUI

Method Detail

createUI

public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
Returns an instance of this class for the given JComponent.

Parameters:
c - the JComponent the LineUI should be returned for.
Returns:
An instance of this class.

paintLine

public void paintLine(java.awt.Graphics g,
                      JLine line)
Paints the two parrallel lines for the given JLine.

Overrides:
paintLine in class DefaultLineUI
Parameters:
g - No description provided
line - No description provided