JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.util.swing
Class JCRowLayout

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

public class JCRowLayout
extends JCElasticLayout

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

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
JCRowLayout()
          Creates a row layout that by default aligns components to the top of the row.
JCRowLayout(int alignment)
          Creates a row 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

JCRowLayout

public JCRowLayout()
Creates a row layout that by default aligns components to the top of the row.


JCRowLayout

public JCRowLayout(int alignment)
Creates a row layout that aligns components to the specified alignment.

Parameters:
alignment - SwingConstants.TOP,\ SwingConstants.CENTER, SwingConstants.BOTTOM

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