jas.plot
Class DataAreaLayout
java.lang.Object
jas.plot.DataAreaLayout
- All Implemented Interfaces:
- LayoutManager, LayoutManager2
public final class DataAreaLayout
- extends Object
- implements LayoutManager2
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
X_AXIS
public static final String X_AXIS
- See Also:
- Constant Field Values
Y_AXIS_LEFT
public static final String Y_AXIS_LEFT
- See Also:
- Constant Field Values
Y_AXIS_RIGHT
public static final String Y_AXIS_RIGHT
- See Also:
- Constant Field Values
X_AXIS_LABEL
public static final String X_AXIS_LABEL
- See Also:
- Constant Field Values
Y_AXIS_LEFT_LABEL
public static final String Y_AXIS_LEFT_LABEL
- See Also:
- Constant Field Values
Y_AXIS_RIGHT_LABEL
public static final String Y_AXIS_RIGHT_LABEL
- See Also:
- Constant Field Values
DataAreaLayout
public DataAreaLayout()
addLayoutComponent
public void addLayoutComponent(Component c,
Object constraints)
- Specified by:
addLayoutComponent
in interface LayoutManager2
addLayoutComponent
public void addLayoutComponent(String s,
Component c)
- Specified by:
addLayoutComponent
in interface LayoutManager
removeLayoutComponent
public void removeLayoutComponent(Component c)
- Specified by:
removeLayoutComponent
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
maximumLayoutSize
public Dimension maximumLayoutSize(Container parent)
- Specified by:
maximumLayoutSize
in interface LayoutManager2
preferredLayoutSize
public Dimension preferredLayoutSize(Container parent)
- Specified by:
preferredLayoutSize
in interface LayoutManager
getLayoutAlignmentX
public float getLayoutAlignmentX(Container parent)
- Returns the alignment along the x axis. This specifies how
the component would like to be aligned relative to other
components. The value should be a number between 0 and 1
where 0 represents alignment along the origin, 1 is aligned
the furthest away from the origin, 0.5 is centered, etc.
- Specified by:
getLayoutAlignmentX
in interface LayoutManager2
getLayoutAlignmentY
public float getLayoutAlignmentY(Container parent)
- Returns the alignment along the y axis. This specifies how
the component would like to be aligned relative to other
components. The value should be a number between 0 and 1
where 0 represents alignment along the origin, 1 is aligned
the furthest away from the origin, 0.5 is centered, etc.
- Specified by:
getLayoutAlignmentY
in interface LayoutManager2
invalidateLayout
public void invalidateLayout(Container target)
- Invalidates the layout, indicating that if the layout manager
has cached information it should be discarded.
- Specified by:
invalidateLayout
in interface LayoutManager2
Copyright © 2000-2009 FreeHEP. All Rights Reserved.