|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.klg.jclass.table.AdjustmentHandler
AdjustmentHandler responds to AdjustmentEvents and
manages table scrolling.
| Field Summary | |
protected boolean |
isTracking
|
protected com.klg.jclass.table.JCTable |
table
|
protected JLabel |
trackLabel
|
| Constructor Summary | |
AdjustmentHandler(com.klg.jclass.table.JCTable table)
Creates a new AdjustmentHandler and links it to table. |
|
| Method Summary | |
void |
adjustmentValueChanged(AdjustmentEvent e)
Controls the origin of the scrollable cell region when AdjustmentEvent objects are generated by the scrollbars. |
protected void |
adjustOrigin()
Ensures that the cell origin is always in sync with the current scrollbar values. |
void |
dispose()
Ensures that AdjustmentHandler can be disposed. |
protected com.klg.jclass.table.CellArea |
getBottomCellArea()
Returns bottom-most CellArea that will be used for placing the horizontal track label when visible. |
protected com.klg.jclass.table.CellArea |
getRightCellArea()
Returns the right-most CellArea that will be used for placing the vertical track label when visible. |
boolean |
isTracking()
Returns the scrollbar tracking state. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected com.klg.jclass.table.JCTable table
protected boolean isTracking
protected JLabel trackLabel
| Constructor Detail |
public AdjustmentHandler(com.klg.jclass.table.JCTable table)
table - The table to which this handler is linked| Method Detail |
public void adjustmentValueChanged(AdjustmentEvent e)
AdjustmentEvent objects are generated by the scrollbars.
AdjustmentHandler determines the origin based on the JumpScroll
setting.
adjustmentValueChanged in interface AdjustmentListenere - The event generated by the adjustmentprotected void adjustOrigin()
protected com.klg.jclass.table.CellArea getBottomCellArea()
protected com.klg.jclass.table.CellArea getRightCellArea()
public boolean isTracking()
public void dispose()
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||