Documentation of 'visad.util.WidgetLayout' Java class
WidgetLayout
visad.util

Class WidgetLayout

  • All Implemented Interfaces:
    java.awt.LayoutManager


    public class WidgetLayout
    extends java.lang.Object
    implements java.awt.LayoutManager
    A simple layout manager for use in the visad ColorWidget. Stacks the first two components vertically, and stretches them to fit the panel.
    Since:
    Visad Utility Library, 0.5
    • Constructor Summary

      Constructors 
      Constructor and Description
      WidgetLayout(ColorWidget colorWidget)
      Make a new WidgetLayout for the specified ColorWidget
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void addLayoutComponent(java.lang.String name, java.awt.Component component)
      Not used, no effect
      void layoutContainer(java.awt.Container parent)
      Lay out the container
      java.awt.Dimension maximumLayoutSize(java.awt.Container parent)
      Return the maximum size for this layout
      java.awt.Dimension minimumLayoutSize(java.awt.Container parent)
      Return the minimum size for this layout
      java.awt.Dimension preferredLayoutSize(java.awt.Container parent)
      Return the preferred size for this layout
      void removeLayoutComponent(java.awt.Component component)
      Not used, no effect
      • Methods inherited from class java.lang.Object

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

      • WidgetLayout

        public WidgetLayout(ColorWidget colorWidget)
        Make a new WidgetLayout for the specified ColorWidget
    • Method Detail

      • addLayoutComponent

        public void addLayoutComponent(java.lang.String name,
                                       java.awt.Component component)
        Not used, no effect
        Specified by:
        addLayoutComponent in interface java.awt.LayoutManager
      • removeLayoutComponent

        public void removeLayoutComponent(java.awt.Component component)
        Not used, no effect
        Specified by:
        removeLayoutComponent in interface java.awt.LayoutManager
      • layoutContainer

        public void layoutContainer(java.awt.Container parent)
        Lay out the container
        Specified by:
        layoutContainer in interface java.awt.LayoutManager
      • minimumLayoutSize

        public java.awt.Dimension minimumLayoutSize(java.awt.Container parent)
        Return the minimum size for this layout
        Specified by:
        minimumLayoutSize in interface java.awt.LayoutManager
      • preferredLayoutSize

        public java.awt.Dimension preferredLayoutSize(java.awt.Container parent)
        Return the preferred size for this layout
        Specified by:
        preferredLayoutSize in interface java.awt.LayoutManager
      • maximumLayoutSize

        public java.awt.Dimension maximumLayoutSize(java.awt.Container parent)
        Return the maximum size for this layout

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.