|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.fife.ui.modifiabletable.AbstractRowHandler
public abstract class AbstractRowHandler
A base class for RowHandler
implementations.
Constructor Summary | |
---|---|
AbstractRowHandler()
|
Method Summary | |
---|---|
boolean |
canModifyRow(int row)
The default implementation always returns true , because
typically ModifiableTable s will allow all their rows to be
modified. |
boolean |
canRemoveRow(int row)
Overriden to call canModifyRow(int) . |
void |
updateUI()
The default implementation does nothing. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.fife.ui.modifiabletable.RowHandler |
---|
getNewRowInfo |
Constructor Detail |
---|
public AbstractRowHandler()
Method Detail |
---|
public boolean canModifyRow(int row)
true
, because
typically ModifiableTable
s will allow all their rows to be
modified. Subclasses can override.
canModifyRow
in interface RowHandler
row
- The row that might be modified.
RowHandler.canRemoveRow(int)
public boolean canRemoveRow(int row)
canModifyRow(int)
. This means by default,
any row that can be modified can also be removed. Subclasses can
override.
canRemoveRow
in interface RowHandler
row
- The row that might be removed.
RowHandler.canModifyRow(int)
public void updateUI()
updateUI
in interface RowHandler
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |