QJCC homepage

biz.chitec.quarterback.swing
Class TableCellSizeAdjustor.AdjustmentInstruction

java.lang.Object
  extended bybiz.chitec.quarterback.swing.TableCellSizeAdjustor.AdjustmentInstruction
Enclosing class:
TableCellSizeAdjustor

private class TableCellSizeAdjustor.AdjustmentInstruction
extends java.lang.Object

Wrapper for instructions on what to recalculate. Adjustment can be constained to a part of the table. E.g. after insertion of some rows, only those rows have to be looked at.


Field Summary
 int column
           
 int firstrow
           
 int lastrow
           
 
Constructor Summary
TableCellSizeAdjustor.AdjustmentInstruction(int fx, int lx, int cx)
           
 
Method Summary
 boolean combine(TableCellSizeAdjustor.AdjustmentInstruction aji)
          Combine (mathmatical: unite) this and the other AdjustmentInstruction.
 boolean equals(TableCellSizeAdjustor.AdjustmentInstruction aji)
          Two instructions are equal if all internal values are equal.
 java.lang.String toString()
          debug purposes only
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

firstrow

public int firstrow

lastrow

public int lastrow

column

public int column
Constructor Detail

TableCellSizeAdjustor.AdjustmentInstruction

public TableCellSizeAdjustor.AdjustmentInstruction(int fx,
                                                   int lx,
                                                   int cx)
Method Detail

equals

public boolean equals(TableCellSizeAdjustor.AdjustmentInstruction aji)
Two instructions are equal if all internal values are equal.


combine

public boolean combine(TableCellSizeAdjustor.AdjustmentInstruction aji)
Combine (mathmatical: unite) this and the other AdjustmentInstruction.

Returns:
true, if combination was possible, false otherwise

toString

public java.lang.String toString()
debug purposes only


QJCC homepage