JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.util.swing
Class JCColumnLayout

java.lang.Object
  |
  +--com.klg.jclass.util.swing.JCElasticLayout
        |
        +--com.klg.jclass.util.swing.JCColumnLayout
All Implemented Interfaces:
LayoutManager, LayoutManager2, Serializable

public class JCColumnLayout
extends JCElasticLayout

A simple sub-class of JCElasticLayout that allows layout in a single column.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.klg.jclass.util.swing.JCElasticLayout
alignment, COMPLETELY_ELASTIC_CONSTRAINT, COMPLETELY_ELASTIC_TAG, constraintCache, constraintMap, HORIZONTAL, HORIZONTALLY_ELASTIC, HORIZONTALLY_ELASTIC_CONSTRAINT, HORIZONTALLY_ELASTIC_TAG, NOT_ELASTIC, orientation, VERTICAL, VERTICALLY_ELASTIC, VERTICALLY_ELASTIC_CONSTRAINT, VERTICALLY_ELASTIC_TAG
 
Constructor Summary
JCColumnLayout()
          Creates a column layout that by default aligns components to the left of the column.
JCColumnLayout(int alignment)
          Creates a column layout that aligns components to the specified alignment.
 
Methods inherited from class com.klg.jclass.util.swing.JCElasticLayout
addLayoutComponent, addLayoutComponent, calcStretch, createElasticConstraint, getAlignment, getElastic, getElasticity, getLayoutAlignmentX, getLayoutAlignmentY, getPreferredLayoutSize, invalidateLayout, isDim1Elastic, isHorizontallyElastic, isVerticallyElastic, layoutContainer, maximumLayoutSize, minimumLayoutSize, preferredLayoutSize, removeLayoutComponent, setAlignment
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JCColumnLayout

public JCColumnLayout()
Creates a column layout that by default aligns components to the left of the column.


JCColumnLayout

public JCColumnLayout(int alignment)
Creates a column layout that aligns components to the specified alignment.

Parameters:
alignment - SwingConstants.LEFT, SwingConstants.CENTER, or SwingConstants.RIGHT

Copyright © 2004 Quest Software Inc..
All rights reserved.