/** Sets x position. */ public void setPositionX(int x) { if (x == positionX || !treeHScrollingEnabled) return; int old = positionX; positionX = x; firePropertyChange("positionX", old, x); if (isEditing() && getEditingColumn() == getTreeColumnIndex()) { CellEditor editor = getCellEditor(); if (ignoreScrolling && editor instanceof TreeTableCellEditor) { ((TreeTableCellEditor)editor).revalidateTextField(); } else { removeEditor(); } } repaint(); }
/** Sets x position. */ public void setPositionX(int x) { if (x == positionX || !treeHScrollingEnabled) return; int old = positionX; positionX = x; firePropertyChange("positionX", old, x); if (isEditing() && getEditingColumn() == getTreeColumnIndex()) { CellEditor editor = getCellEditor(); if (ignoreScrolling && editor instanceof TreeTableCellEditor) { ((TreeTableCellEditor)editor).revalidateTextField(); } else { removeEditor(); } } repaint(); }
/** Sets x position. */ public void setPositionX(int x) { if ((x == positionX) || !treeHScrollingEnabled) { return; } int old = positionX; positionX = x; firePropertyChange("positionX", old, x); if (isEditing() && (getEditingColumn() == getTreeColumnIndex())) { CellEditor editor = getCellEditor(); if (ignoreScrolling && editor instanceof TreeTableCellEditor) { ((TreeTableCellEditor) editor).revalidateTextField(); } else { removeEditor(); } } repaint(); }
if ((getEditingColumn() == column) && (getEditingRow() == row)) { return;
if ( getEditingColumn() == column && getEditingRow() == row ) { return;
if ( getEditingColumn() == column && getEditingRow() == row ) { return;