com.jstatcom.equation
Class EqLayout
- java.lang.Object
-
- java.awt.FlowLayout
-
- com.jstatcom.equation.EqLayout
-
- All Implemented Interfaces:
- java.awt.LayoutManager, java.io.Serializable
public final class EqLayout extends java.awt.FlowLayoutSpecial layout to be used withEqPanel. It manges the visibility of scrollbars of a parent scrollpane, the adjustment of the equation components and the dimension of the underlyingEqPanel.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description EqLayout()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidlayoutContainer(java.awt.Container target)Manages the layout for the target container and its child components.java.awt.DimensionmaximumLayoutSize(java.awt.Container target)Returns the maximum dimensions needed to layout the components contained in the specified target container.java.awt.DimensionminimumLayoutSize(java.awt.Container target)Returns the minimum dimensions needed to layout the components contained in the specified target container.java.awt.DimensionpreferredLayoutSize(java.awt.Container target)Wrappes component childs if there is a parent component of classJScrollPane.
-
-
-
Method Detail
-
layoutContainer
public void layoutContainer(java.awt.Container target)
Manages the layout for the target container and its child components.- Specified by:
layoutContainerin interfacejava.awt.LayoutManager- Overrides:
layoutContainerin classjava.awt.FlowLayout- Parameters:
target- the specified component being laid out.- See Also:
Container.doLayout()
-
maximumLayoutSize
public java.awt.Dimension maximumLayoutSize(java.awt.Container target)
Returns the maximum dimensions needed to layout the components contained in the specified target container.- Parameters:
target- the component which needs to be laid out- Returns:
- the maximum dimensions to lay out the subcomponents of the specified container.
-
minimumLayoutSize
public java.awt.Dimension minimumLayoutSize(java.awt.Container target)
Returns the minimum dimensions needed to layout the components contained in the specified target container.- Specified by:
minimumLayoutSizein interfacejava.awt.LayoutManager- Overrides:
minimumLayoutSizein classjava.awt.FlowLayout- Parameters:
target- the component which needs to be laid out- Returns:
- the minimum dimensions to lay out the subcomponents of the specified container.
-
preferredLayoutSize
public java.awt.Dimension preferredLayoutSize(java.awt.Container target)
Wrappes component childs if there is a parent component of classJScrollPane.- Specified by:
preferredLayoutSizein interfacejava.awt.LayoutManager- Overrides:
preferredLayoutSizein classjava.awt.FlowLayout- Parameters:
target- the component which needs to be laid out- Returns:
- the preferred dimensions to lay out the subcomponents of the specified container.
-
-
DMelt 3.0 © DataMelt by jWork.ORG