de.uni_paderborn.fujaba.fsa.swing
Class DefaultBendUI

java.lang.Object
  extended byjavax.swing.plaf.ComponentUI
      extended byjavax.swing.plaf.PanelUI
          extended byde.uni_paderborn.fujaba.fsa.swing.BendUI
              extended byde.uni_paderborn.fujaba.fsa.swing.DefaultBendUI

public class DefaultBendUI
extends BendUI

default UI for bends.

small filled rectangle with bendPoint in the center

Version:
$Revision: 1.9 $
Author:
$Author: lowende $

Field Summary
static int DEFAULT_SIZE
          No comment provided by developer, please add a comment to improve documentation.
 
Constructor Summary
DefaultBendUI()
           
 
Method Summary
protected  java.awt.Point calculatePoint(javax.swing.JComponent c)
          No comment provided by developer, please add a comment to improve documentation.
static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
          No comment provided by developer, please add a comment to improve documentation.
static DefaultBendUI get()
          No comment provided by developer, please add a comment to improve documentation.
 java.awt.Dimension getPreferredSize(javax.swing.JComponent c)
          Get the preferredSize attribute of the DefaultBendUI object
 void paint(java.awt.Graphics g, javax.swing.JComponent c)
          No comment provided by developer, please add a comment to improve documentation.
 
Methods inherited from class de.uni_paderborn.fujaba.fsa.swing.BendUI
firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, 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

DEFAULT_SIZE

public static final int DEFAULT_SIZE
No comment provided by developer, please add a comment to improve documentation.

See Also:
Constant Field Values
Constructor Detail

DefaultBendUI

public DefaultBendUI()
Method Detail

get

public static DefaultBendUI get()
No comment provided by developer, please add a comment to improve documentation.

Returns:
No description provided

createUI

public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent c)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
c - No description provided
Returns:
No description provided

paint

public void paint(java.awt.Graphics g,
                  javax.swing.JComponent c)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
paint in class BendUI
Parameters:
g - No description provided
c - No description provided

getPreferredSize

public java.awt.Dimension getPreferredSize(javax.swing.JComponent c)
Get the preferredSize attribute of the DefaultBendUI object

Specified by:
getPreferredSize in class BendUI
Parameters:
c - No description provided
Returns:
The preferredSize value

calculatePoint

protected java.awt.Point calculatePoint(javax.swing.JComponent c)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
calculatePoint in class BendUI
Parameters:
c - No description provided
Returns:
No description provided