Module platform

Class LCBLayout

java.lang.Object
org.jfree.chart.ui.LCBLayout
All Implemented Interfaces:
LayoutManager, Serializable

public class LCBLayout extends Object implements LayoutManager, Serializable
Specialised layout manager for a grid of components.
See Also:
  • Constructor Details

    • LCBLayout

      public LCBLayout(int maxrows)
      Creates a new LCBLayout with the specified maximum number of rows.
      Parameters:
      maxrows - the maximum number of rows.
  • Method Details

    • preferredLayoutSize

      public Dimension preferredLayoutSize(Container parent)
      Returns the preferred size using this layout manager.
      Specified by:
      preferredLayoutSize in interface LayoutManager
      Parameters:
      parent - the parent.
      Returns:
      the preferred size using this layout manager.
    • minimumLayoutSize

      public Dimension minimumLayoutSize(Container parent)
      Returns the minimum size using this layout manager.
      Specified by:
      minimumLayoutSize in interface LayoutManager
      Parameters:
      parent - the parent.
      Returns:
      the minimum size using this layout manager.
    • layoutContainer

      public void layoutContainer(Container parent)
      Lays out the components.
      Specified by:
      layoutContainer in interface LayoutManager
      Parameters:
      parent - the parent.
    • addLayoutComponent

      public void addLayoutComponent(Component comp)
      Not used.
      Parameters:
      comp - the component.
    • removeLayoutComponent

      public void removeLayoutComponent(Component comp)
      Not used.
      Specified by:
      removeLayoutComponent in interface LayoutManager
      Parameters:
      comp - the component.
    • addLayoutComponent

      public void addLayoutComponent(String name, Component comp)
      Not used.
      Specified by:
      addLayoutComponent in interface LayoutManager
      Parameters:
      name - the component name.
      comp - the component.
    • removeLayoutComponent

      public void removeLayoutComponent(String name, Component comp)
      Not used.
      Parameters:
      name - the component name.
      comp - the component.