org.globus.cog.gui.grapheditor.canvas
Class CanvasLayout
java.lang.Object
org.globus.cog.gui.grapheditor.canvas.CanvasLayout
- All Implemented Interfaces:
- LayoutManager, LayoutManager2
- public class CanvasLayout
- extends Object
- implements LayoutManager2
A class that doesn't do much
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CanvasLayout
public CanvasLayout()
addLayoutComponent
public void addLayoutComponent(Component comp,
Object constraints)
- Specified by:
addLayoutComponent in interface LayoutManager2
addLayoutComponent
public void addLayoutComponent(String name,
Component comp)
- Specified by:
addLayoutComponent in interface LayoutManager
layoutContainer
public void layoutContainer(Container parent)
- Specified by:
layoutContainer in interface LayoutManager
minimumLayoutSize
public Dimension minimumLayoutSize(Container parent)
- Specified by:
minimumLayoutSize in interface LayoutManager
preferredLayoutSize
public Dimension preferredLayoutSize(Container parent)
- Specified by:
preferredLayoutSize in interface LayoutManager
maximumLayoutSize
public Dimension maximumLayoutSize(Container parent)
- Specified by:
maximumLayoutSize in interface LayoutManager2
removeLayoutComponent
public void removeLayoutComponent(Component comp)
- Specified by:
removeLayoutComponent in interface LayoutManager
getLayoutAlignmentX
public float getLayoutAlignmentX(Container parent)
- Specified by:
getLayoutAlignmentX in interface LayoutManager2
getLayoutAlignmentY
public float getLayoutAlignmentY(Container parent)
- Specified by:
getLayoutAlignmentY in interface LayoutManager2
invalidateLayout
public void invalidateLayout(Container target)
- Specified by:
invalidateLayout in interface LayoutManager2