Documentation of 'com.jstatcom.equation.EqLayout' Java class
EqLayout
com.jstatcom.equation

Class EqLayout

  • All Implemented Interfaces:
    java.awt.LayoutManager, java.io.Serializable


    public final class EqLayout
    extends java.awt.FlowLayout
    Special layout to be used with EqPanel. It manges the visibility of scrollbars of a parent scrollpane, the adjustment of the equation components and the dimension of the underlying EqPanel.
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class java.awt.FlowLayout

        CENTER, LEADING, LEFT, RIGHT, TRAILING
    • Constructor Summary

      Constructors 
      Constructor and Description
      EqLayout()
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void layoutContainer(java.awt.Container target)
      Manages the layout for the target container and its child components.
      java.awt.Dimension maximumLayoutSize(java.awt.Container target)
      Returns the maximum dimensions needed to layout the components contained in the specified target container.
      java.awt.Dimension minimumLayoutSize(java.awt.Container target)
      Returns the minimum dimensions needed to layout the components contained in the specified target container.
      java.awt.Dimension preferredLayoutSize(java.awt.Container target)
      Wrappes component childs if there is a parent component of class JScrollPane.
      • Methods inherited from class java.awt.FlowLayout

        addLayoutComponent, getAlignment, getAlignOnBaseline, getHgap, getVgap, removeLayoutComponent, setAlignment, setAlignOnBaseline, setHgap, setVgap, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • EqLayout

        public EqLayout()
        Constructor.
    • Method Detail

      • layoutContainer

        public void layoutContainer(java.awt.Container target)
        Manages the layout for the target container and its child components.
        Specified by:
        layoutContainer in interface java.awt.LayoutManager
        Overrides:
        layoutContainer in class java.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:
        minimumLayoutSize in interface java.awt.LayoutManager
        Overrides:
        minimumLayoutSize in class java.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 class JScrollPane.
        Specified by:
        preferredLayoutSize in interface java.awt.LayoutManager
        Overrides:
        preferredLayoutSize in class java.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

You see the box below because you did not login.