Package com.ribs

Class RJLayout

  • All Implemented Interfaces:
    java.awt.LayoutManager, java.awt.LayoutManager2

    public class RJLayout
    extends java.lang.Object
    implements java.awt.LayoutManager2
    Copyright (c) 2004 ReportMill Software, Inc. All Rights Reserved. Contact ReportMill .
    • Constructor Summary

      Constructors 
      Constructor Description
      RJLayout​(javax.swing.JComponent aComponent)
      Creates new layout manager with given panel.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addLayoutComponent​(java.awt.Component aComponent, java.lang.Object constraints)  
      void addLayoutComponent​(java.lang.String aName, java.awt.Component aComponent)
      Adds a component to the manager.
      float getLayoutAlignmentX​(java.awt.Container aTarget)  
      float getLayoutAlignmentY​(java.awt.Container aTarget)  
      void invalidateLayout​(java.awt.Container aTarget)  
      boolean isEnabled()
      Returns whether layout is enabled.
      void layoutContainer​(java.awt.Container aParent)
      Performs actual component layout.
      java.awt.Dimension maximumLayoutSize​(java.awt.Container aTarget)
      Returns the maximum layout size.
      java.awt.Dimension minimumLayoutSize​(java.awt.Container aParent)
      Returns the minimum layout size.
      java.awt.Dimension preferredLayoutSize​(java.awt.Container aParent)
      Returns the preferred layout size.
      void removeLayoutComponent​(java.awt.Component aComponent)
      Removes a component to the manager.
      void setEnabled​(boolean aValue)
      Sets whether layout is enabled.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RJLayout

        public RJLayout​(javax.swing.JComponent aComponent)
        Creates new layout manager with given panel.
    • Method Detail

      • isEnabled

        public boolean isEnabled()
        Returns whether layout is enabled.
      • setEnabled

        public void setEnabled​(boolean aValue)
        Sets whether layout is enabled.
      • layoutContainer

        public void layoutContainer​(java.awt.Container aParent)
        Performs actual component layout.
        Specified by:
        layoutContainer in interface java.awt.LayoutManager
      • addLayoutComponent

        public void addLayoutComponent​(java.awt.Component aComponent,
                                       java.lang.Object constraints)
        Specified by:
        addLayoutComponent in interface java.awt.LayoutManager2
      • addLayoutComponent

        public void addLayoutComponent​(java.lang.String aName,
                                       java.awt.Component aComponent)
        Adds a component to the manager.
        Specified by:
        addLayoutComponent in interface java.awt.LayoutManager
      • removeLayoutComponent

        public void removeLayoutComponent​(java.awt.Component aComponent)
        Removes a component to the manager.
        Specified by:
        removeLayoutComponent in interface java.awt.LayoutManager
      • preferredLayoutSize

        public java.awt.Dimension preferredLayoutSize​(java.awt.Container aParent)
        Returns the preferred layout size.
        Specified by:
        preferredLayoutSize in interface java.awt.LayoutManager
      • minimumLayoutSize

        public java.awt.Dimension minimumLayoutSize​(java.awt.Container aParent)
        Returns the minimum layout size.
        Specified by:
        minimumLayoutSize in interface java.awt.LayoutManager
      • maximumLayoutSize

        public java.awt.Dimension maximumLayoutSize​(java.awt.Container aTarget)
        Returns the maximum layout size.
        Specified by:
        maximumLayoutSize in interface java.awt.LayoutManager2
      • getLayoutAlignmentX

        public float getLayoutAlignmentX​(java.awt.Container aTarget)
        Specified by:
        getLayoutAlignmentX in interface java.awt.LayoutManager2
      • getLayoutAlignmentY

        public float getLayoutAlignmentY​(java.awt.Container aTarget)
        Specified by:
        getLayoutAlignmentY in interface java.awt.LayoutManager2
      • invalidateLayout

        public void invalidateLayout​(java.awt.Container aTarget)
        Specified by:
        invalidateLayout in interface java.awt.LayoutManager2