|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectqx.core.Object
qx.core.Target
qx.ui.table.columnmodel.Basic
qx.ui.table.columnmodel.Resize
public class Resize
A table column model that automagically resizes columns based on a selected behavior.
Constructor Summary | |
---|---|
Resize()
|
Method Summary | |
---|---|
void |
_addResetColumnWidthButton(DataEvent event)
Reset the column widths to their “onappear” defaults. |
void |
_applyBehavior(java.lang.Object value,
java.lang.Object old)
|
void |
_onappear(Event event)
Event handler for the “appear” event. |
void |
_oncolumnwidthchanged(DataEvent event)
Event handler for the “widthChanged” event. |
void |
_ontablewidthchanged(Event event)
Event handler for the “tableWidthChanged” event. |
void |
_onverticalscrollbarchanged(DataEvent event)
Event handler for the “verticalScrollBarChanged” event. |
void |
_onvisibilitychanged(DataEvent event)
Event handler for the “visibilityChanged” event. |
Abstract |
getBehavior()
Returns the (computed) value of the property behavior . |
void |
init(java.lang.Object numColumns,
Table table)
Initializes the column model. |
void |
initBehavior(Abstract arg)
Calls the apply method and dispatches the change event of the property behavior
with the default value defined by the class developer. |
void |
resetBehavior()
Resets the user value of the property behavior . |
void |
setBehavior(Abstract arg)
Sets the user value of the property behavior . |
Methods inherited from class qx.ui.table.columnmodel.Basic |
---|
_getColToXPosMap, getCellEditorFactory, getColumnWidth, getDataCellRenderer, getHeaderCellRenderer, getOverallColumnAtX, getOverallColumnCount, getOverallX, getVisibleColumnAtX, getVisibleColumnCount, getVisibleX, init, isColumnVisible, moveColumn, setCellEditorFactory, setColumnVisible, setColumnWidth, setDataCellRenderer, setHeaderCellRenderer |
Methods inherited from class qx.core.Target |
---|
_dispatchEvent, addChangeSelectionListener, addChangeValueListener, addEventListener, addExecuteListener, addJavaEventListener, createDispatchChangeEvent, createDispatchDataEvent, createDispatchEvent, dispatchEvent, hasEventListeners, removeEventListener |
Methods inherited from class qx.core.Object |
---|
_disposeFields, _disposeObjectDeep, _disposeObjects, base, dispose, get, getDisposed, isDisposed, reset, self, set, toHashCode, toString_ |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Resize()
Method Detail |
---|
public void _addResetColumnWidthButton(DataEvent event)
Reset the column widths to their “onappear” defaults.
public void _applyBehavior(java.lang.Object value, java.lang.Object old)
public void _onappear(Event event)
Event handler for the “appear” event.
public void _oncolumnwidthchanged(DataEvent event)
Event handler for the “widthChanged” event.
public void _ontablewidthchanged(Event event)
Event handler for the “tableWidthChanged” event.
public void _onverticalscrollbarchanged(DataEvent event)
Event handler for the “verticalScrollBarChanged” event.
public void _onvisibilitychanged(DataEvent event)
Event handler for the “visibilityChanged” event.
public Abstract getBehavior()
Returns the (computed) value of the property behavior
.
For further details take a look at the property definition: behavior
.
public void init(java.lang.Object numColumns, Table table)
Initializes the column model.
public void initBehavior(Abstract arg)
Calls the apply method and dispatches the change event of the property behavior
with the default value defined by the class developer. This function can
only be called from the constructor of a class.
For further details take a look at the property definition: behavior
.
public void resetBehavior()
Resets the user value of the property behavior
.
The computed value falls back to the next available value e.g. appearance, init or inheritance value depeneding on the property configuration and value availability.
For further details take a look at the property definition: behavior
.
public void setBehavior(Abstract arg)
Sets the user value of the property behavior
.
For further details take a look at the property definition: behavior
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |