JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.table.beans
Class LabelLayoutWrapper

java.lang.Object
  |
  +--com.klg.jclass.table.beans.LabelLayoutWrapper
All Implemented Interfaces:
Serializable

public class LabelLayoutWrapper
extends Object
implements Serializable

LabelLayoutWrapper wraps up row and column label layout properties. It is used for the labelLayout property in LiveTable.

See Also:
Serialized Form

Field Summary
 boolean columnDisplay
           
 int columnOffset
           
 int columnPlacement
           
 boolean rowDisplay
           
 int rowOffset
           
 int rowPlacement
           
 
Constructor Summary
LabelLayoutWrapper(boolean rowDisplay, boolean columnDisplay, int rowOffset, int columnOffset, int rowPlacement, int columnPlacement)
          Creates an LabelLayoutWrapper for the given row and column label layout properties.
 
Method Summary
 String getJavaInitializationString()
          Returns a fragment of Java code representing an initializer for the current value.
 String toString()
          Returns a representation of this wrapper values as a string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

rowDisplay

public boolean rowDisplay

columnDisplay

public boolean columnDisplay

rowOffset

public int rowOffset

columnOffset

public int columnOffset

rowPlacement

public int rowPlacement

columnPlacement

public int columnPlacement
Constructor Detail

LabelLayoutWrapper

public LabelLayoutWrapper(boolean rowDisplay,
                          boolean columnDisplay,
                          int rowOffset,
                          int columnOffset,
                          int rowPlacement,
                          int columnPlacement)
Creates an LabelLayoutWrapper for the given row and column label layout properties.

Parameters:
rowDisplay - the row display value
columnDisplay - the column display value
rowOffset - the row offset
columnOffset - the column offset
rowPlacement - the row placement
columnPlacement - the column placement
Method Detail

toString

public String toString()
Returns a representation of this wrapper values as a string.

Overrides:
toString in class Object
Returns:
a string that must be used by a property editor.

getJavaInitializationString

public String getJavaInitializationString()
Returns a fragment of Java code representing an initializer for the current value.

Returns:
a string that must be used by a property editor.

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