JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.table.beans
Class CellSizeWrapper

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

public class CellSizeWrapper
extends Object
implements Serializable

CellSizeWrapper wraps up string representations of the width, and height series. It is used for the CellSize property in LiveTable.

See Also:
Serialized Form

Field Summary
 com.klg.jclass.table.PositionCellSize[] columnPositions
           
 com.klg.jclass.table.PositionCellSize[] rowPositions
           
 
Constructor Summary
CellSizeWrapper(com.klg.jclass.table.PositionCellSize[] rowPositions, com.klg.jclass.table.PositionCellSize[] columnPositions)
          Creates a CellSizeWrapper instance for the given strings representing the width and height series.
 
Method Summary
 String getJavaInitializationString()
          Returns a fragment of Java code representing an initializer for the current value.
protected  String makeArrayString(com.klg.jclass.table.PositionCellSize[] positions)
           
 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

rowPositions

public com.klg.jclass.table.PositionCellSize[] rowPositions

columnPositions

public com.klg.jclass.table.PositionCellSize[] columnPositions
Constructor Detail

CellSizeWrapper

public CellSizeWrapper(com.klg.jclass.table.PositionCellSize[] rowPositions,
                       com.klg.jclass.table.PositionCellSize[] columnPositions)
Creates a CellSizeWrapper instance for the given strings representing the width and height series.

Parameters:
rowPositions - PositionCellSize[] representation of the width series
columnPositions - PositionCellSize[] representation of the height series
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.

makeArrayString

protected String makeArrayString(com.klg.jclass.table.PositionCellSize[] positions)

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