de.uni_paderborn.fujaba.fsa.swing
Class PanelGrabUI

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.GrabUI
                  extended byde.uni_paderborn.fujaba.fsa.swing.DefaultGrabUI
                      extended byde.uni_paderborn.fujaba.fsa.swing.PanelGrabUI

public class PanelGrabUI
extends DefaultGrabUI

Grab UI that has a component as representation for the grab itself and can contain additional elements which are layouted around the line that is attached to the grab

Version:
$Revision: 1.16 $
Author:
$Author: lowende $

Constructor Summary
PanelGrabUI()
           
 
Method Summary
protected  java.awt.Point calculatePoint(javax.swing.JComponent c)
          No comment provided by developer, please add a comment to improve documentation.
 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)
          No comment provided by developer, please add a comment to improve documentation.
protected  int getAlignmentOffset(JGrab g)
          Get the alignmentOffset attribute of the PanelGrabUI object
 JBend getBend()
          Get the bend attribute of the PanelGrabUI object
 javax.swing.JComponent getGrabComponent()
          Get the grabComponent attribute of the PanelGrabUI object
 java.awt.Dimension getMaximumSize(javax.swing.JComponent c)
          Get the maximumSize attribute of the PanelGrabUI object
 java.awt.Dimension getMinimumSize(javax.swing.JComponent c)
          Get the minimumSize attribute of the PanelGrabUI object
 java.awt.Dimension getPreferredSize(javax.swing.JComponent c)
          Get the preferredSize attribute of the PanelGrabUI object
protected  int getTouchLength(JGrab g)
          Get the touchLength attribute of the PanelGrabUI object
protected  int getTouchOffset(JGrab g)
          Get the touchOffset attribute of the PanelGrabUI object
protected  void installDefaults()
          No comment provided by developer, please add a comment to improve documentation.
 void installUI(javax.swing.JComponent c)
          No comment provided by developer, please add a comment to improve documentation.
 void paint(java.awt.Graphics g, javax.swing.JComponent c)
          No comment provided by developer, please add a comment to improve documentation.
 boolean setBend(JBend bend)
          Sets the bend attribute of the PanelGrabUI object
 void setGrabComponent(javax.swing.JComponent c)
          Sets the grabComponent attribute of the PanelGrabUI object
 void uninstallUI(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.GrabUI
getPadOffset
 
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
getAccessibleChild, getAccessibleChildrenCount, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PanelGrabUI

public PanelGrabUI()
Method Detail

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

getBend

public JBend getBend()
Get the bend attribute of the PanelGrabUI object

Returns:
The bend value

setBend

public boolean setBend(JBend bend)
Sets the bend attribute of the PanelGrabUI object

Parameters:
bend - The new bend value
Returns:
No description provided

setGrabComponent

public void setGrabComponent(javax.swing.JComponent c)
Sets the grabComponent attribute of the PanelGrabUI object

Parameters:
c - The new grabComponent value

getGrabComponent

public javax.swing.JComponent getGrabComponent()
Get the grabComponent attribute of the PanelGrabUI object

Returns:
The grabComponent value

installUI

public void installUI(javax.swing.JComponent c)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
c - No description provided

uninstallUI

public void uninstallUI(javax.swing.JComponent c)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
c - No description provided

installDefaults

protected void installDefaults()
No comment provided by developer, please add a comment to improve documentation.


calculatePoint

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

Overrides:
calculatePoint in class GrabUI
Parameters:
c - No description provided
Returns:
No description provided

getTouchOffset

protected int getTouchOffset(JGrab g)
Get the touchOffset attribute of the PanelGrabUI object

Overrides:
getTouchOffset in class GrabUI
Parameters:
g - No description provided
Returns:
The touchOffset value

getTouchLength

protected int getTouchLength(JGrab g)
Get the touchLength attribute of the PanelGrabUI object

Overrides:
getTouchLength in class GrabUI
Parameters:
g - No description provided
Returns:
The touchLength value

getAlignmentOffset

protected int getAlignmentOffset(JGrab g)
Get the alignmentOffset attribute of the PanelGrabUI object

Overrides:
getAlignmentOffset in class GrabUI
Parameters:
g - No description provided
Returns:
The alignmentOffset value

getMinimumSize

public java.awt.Dimension getMinimumSize(javax.swing.JComponent c)
Get the minimumSize attribute of the PanelGrabUI object

Overrides:
getMinimumSize in class DefaultGrabUI
Parameters:
c - No description provided
Returns:
The minimumSize value

getMaximumSize

public java.awt.Dimension getMaximumSize(javax.swing.JComponent c)
Get the maximumSize attribute of the PanelGrabUI object

Overrides:
getMaximumSize in class DefaultGrabUI
Parameters:
c - No description provided
Returns:
The maximumSize value

getPreferredSize

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

Overrides:
getPreferredSize in class DefaultGrabUI
Parameters:
c - No description provided
Returns:
The preferredSize value

contains

public boolean contains(javax.swing.JComponent c,
                        int x,
                        int y)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
c - No description provided
x - No description provided
y - 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.

Overrides:
paint in class DefaultGrabUI
Parameters:
g - No description provided
c - No description provided