Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.ubermq.chord.ui
Class ChordDisplayPanel.MyLayoutManager  view ChordDisplayPanel.MyLayoutManager download ChordDisplayPanel.MyLayoutManager.java

java.lang.Object
  extended bycom.ubermq.chord.ui.ChordDisplayPanel.MyLayoutManager
All Implemented Interfaces:
java.awt.LayoutManager
Enclosing class:
ChordDisplayPanel

private static class ChordDisplayPanel.MyLayoutManager
extends java.lang.Object
implements java.awt.LayoutManager

The core of the display panel involves laying out node representation components in a circle.


Field Summary
private static java.awt.Dimension PREFERRED_SIZE
           
 
Constructor Summary
(package private) ChordDisplayPanel.MyLayoutManager()
           
 
Method Summary
 void addLayoutComponent(java.lang.String name, java.awt.Component comp)
          Adds the specified component to the layout group.
 void layoutContainer(java.awt.Container parent)
          Lays out the specified container.
 java.awt.Dimension minimumLayoutSize(java.awt.Container parent)
          Calculates the minimum size for this container, taking into account the components it contains.
 java.awt.Dimension preferredLayoutSize(java.awt.Container parent)
          Calculates the preferred size for this container, taking into account the components it contains.
 void removeLayoutComponent(java.awt.Component comp)
          Removes the specified component from the layout group.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PREFERRED_SIZE

private static final java.awt.Dimension PREFERRED_SIZE
Constructor Detail

ChordDisplayPanel.MyLayoutManager

ChordDisplayPanel.MyLayoutManager()
Method Detail

removeLayoutComponent

public void removeLayoutComponent(java.awt.Component comp)
Description copied from interface: java.awt.LayoutManager
Removes the specified component from the layout group.

Specified by:
removeLayoutComponent in interface java.awt.LayoutManager

addLayoutComponent

public void addLayoutComponent(java.lang.String name,
                               java.awt.Component comp)
Description copied from interface: java.awt.LayoutManager
Adds the specified component to the layout group.

Specified by:
addLayoutComponent in interface java.awt.LayoutManager

layoutContainer

public void layoutContainer(java.awt.Container parent)
Lays out the specified container.

Specified by:
layoutContainer in interface java.awt.LayoutManager

preferredLayoutSize

public java.awt.Dimension preferredLayoutSize(java.awt.Container parent)
Description copied from interface: java.awt.LayoutManager
Calculates the preferred size for this container, taking into account the components it contains.

Specified by:
preferredLayoutSize in interface java.awt.LayoutManager

minimumLayoutSize

public java.awt.Dimension minimumLayoutSize(java.awt.Container parent)
Description copied from interface: java.awt.LayoutManager
Calculates the minimum size for this container, taking into account the components it contains.

Specified by:
minimumLayoutSize in interface java.awt.LayoutManager