jas.plot
Class DataAreaLayout
java.lang.Object
|
+--jas.plot.DataAreaLayout
- All Implemented Interfaces:
- java.awt.LayoutManager, java.awt.LayoutManager2
- public final class DataAreaLayout
- extends java.lang.Object
- implements java.awt.LayoutManager2
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
X_AXIS
public static final java.lang.String X_AXIS
Y_AXIS_LEFT
public static final java.lang.String Y_AXIS_LEFT
Y_AXIS_RIGHT
public static final java.lang.String Y_AXIS_RIGHT
X_AXIS_LABEL
public static final java.lang.String X_AXIS_LABEL
Y_AXIS_LEFT_LABEL
public static final java.lang.String Y_AXIS_LEFT_LABEL
Y_AXIS_RIGHT_LABEL
public static final java.lang.String Y_AXIS_RIGHT_LABEL
DataAreaLayout
public DataAreaLayout()
addLayoutComponent
public void addLayoutComponent(java.awt.Component c,
java.lang.Object constraints)
- Specified by:
addLayoutComponent
in interface java.awt.LayoutManager2
addLayoutComponent
public void addLayoutComponent(java.lang.String s,
java.awt.Component c)
- Specified by:
addLayoutComponent
in interface java.awt.LayoutManager
removeLayoutComponent
public void removeLayoutComponent(java.awt.Component c)
- Specified by:
removeLayoutComponent
in interface java.awt.LayoutManager
layoutContainer
public void layoutContainer(java.awt.Container parent)
- Specified by:
layoutContainer
in interface java.awt.LayoutManager
minimumLayoutSize
public java.awt.Dimension minimumLayoutSize(java.awt.Container parent)
- Specified by:
minimumLayoutSize
in interface java.awt.LayoutManager
maximumLayoutSize
public java.awt.Dimension maximumLayoutSize(java.awt.Container parent)
- Specified by:
maximumLayoutSize
in interface java.awt.LayoutManager2
preferredLayoutSize
public java.awt.Dimension preferredLayoutSize(java.awt.Container parent)
- Specified by:
preferredLayoutSize
in interface java.awt.LayoutManager
getLayoutAlignmentX
public float getLayoutAlignmentX(java.awt.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 java.awt.LayoutManager2
getLayoutAlignmentY
public float getLayoutAlignmentY(java.awt.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 java.awt.LayoutManager2
invalidateLayout
public void invalidateLayout(java.awt.Container target)
- Invalidates the layout, indicating that if the layout manager
has cached information it should be discarded.
- Specified by:
invalidateLayout
in interface java.awt.LayoutManager2