jas2.plot
Class DataAreaLayout
- java.lang.Object
-
- jas2.plot.DataAreaLayout
-
- All Implemented Interfaces:
- java.awt.LayoutManager, java.awt.LayoutManager2
public final class DataAreaLayout extends java.lang.Object implements java.awt.LayoutManager2
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.StringX_AXISstatic java.lang.StringX_AXIS_LABELstatic java.lang.StringY_AXIS_LEFTstatic java.lang.StringY_AXIS_LEFT_LABELstatic java.lang.StringY_AXIS_RIGHTstatic java.lang.StringY_AXIS_RIGHT_LABEL
-
Constructor Summary
Constructors Constructor and Description DataAreaLayout()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidaddLayoutComponent(java.awt.Component c, java.lang.Object constraints)voidaddLayoutComponent(java.lang.String s, java.awt.Component c)floatgetLayoutAlignmentX(java.awt.Container parent)Returns the alignment along the x axis.floatgetLayoutAlignmentY(java.awt.Container parent)Returns the alignment along the y axis.voidinvalidateLayout(java.awt.Container target)Invalidates the layout, indicating that if the layout manager has cached information it should be discarded.voidlayoutContainer(java.awt.Container parent)java.awt.DimensionmaximumLayoutSize(java.awt.Container parent)java.awt.DimensionminimumLayoutSize(java.awt.Container parent)java.awt.DimensionpreferredLayoutSize(java.awt.Container parent)voidremoveLayoutComponent(java.awt.Component c)
-
-
-
Field Detail
-
X_AXIS
public static final java.lang.String X_AXIS
- See Also:
- Constant Field Values
-
Y_AXIS_LEFT
public static final java.lang.String Y_AXIS_LEFT
- See Also:
- Constant Field Values
-
Y_AXIS_RIGHT
public static final java.lang.String Y_AXIS_RIGHT
- See Also:
- Constant Field Values
-
X_AXIS_LABEL
public static final java.lang.String X_AXIS_LABEL
- See Also:
- Constant Field Values
-
Y_AXIS_LEFT_LABEL
public static final java.lang.String Y_AXIS_LEFT_LABEL
- See Also:
- Constant Field Values
-
Y_AXIS_RIGHT_LABEL
public static final java.lang.String Y_AXIS_RIGHT_LABEL
- See Also:
- Constant Field Values
-
-
Method Detail
-
addLayoutComponent
public void addLayoutComponent(java.awt.Component c, java.lang.Object constraints)- Specified by:
addLayoutComponentin interfacejava.awt.LayoutManager2
-
addLayoutComponent
public void addLayoutComponent(java.lang.String s, java.awt.Component c)- Specified by:
addLayoutComponentin interfacejava.awt.LayoutManager
-
removeLayoutComponent
public void removeLayoutComponent(java.awt.Component c)
- Specified by:
removeLayoutComponentin interfacejava.awt.LayoutManager
-
layoutContainer
public void layoutContainer(java.awt.Container parent)
- Specified by:
layoutContainerin interfacejava.awt.LayoutManager
-
minimumLayoutSize
public java.awt.Dimension minimumLayoutSize(java.awt.Container parent)
- Specified by:
minimumLayoutSizein interfacejava.awt.LayoutManager
-
maximumLayoutSize
public java.awt.Dimension maximumLayoutSize(java.awt.Container parent)
- Specified by:
maximumLayoutSizein interfacejava.awt.LayoutManager2
-
preferredLayoutSize
public java.awt.Dimension preferredLayoutSize(java.awt.Container parent)
- Specified by:
preferredLayoutSizein interfacejava.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:
getLayoutAlignmentXin interfacejava.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:
getLayoutAlignmentYin interfacejava.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:
invalidateLayoutin interfacejava.awt.LayoutManager2
-
-
DataMelt 3.0 © DataMelt by jWork.ORG