|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.sdm.quasar.client.core.commands.AbstractCommandAdapter
com.sdm.quasar.client.swing.commands.adapters.JTableDoubleClickCommandAdapter
The JTableDoubleClickCommandAdapter is an adapter
between a JTable and a Command:
It trigges the Command, when a row is selected via double click.
| Constructor Summary | |
JTableDoubleClickCommandAdapter(javax.swing.JTable jtable,
Command command)
Creates a new JTableDoubleClickCommandAdapter. |
|
JTableDoubleClickCommandAdapter(java.lang.String name,
javax.swing.JTable jtable,
Command command)
Creates a new JTableDoubleClickCommandAdapter. |
|
| Method Summary | |
void |
dispose()
Disposes the component. |
javax.swing.JTable |
getJTree()
Returns the JTable adapted to the command. |
void |
setJTable(javax.swing.JTable jtable)
Sets the JTable to adapt to the command. |
| Methods inherited from class com.sdm.quasar.client.core.commands.AbstractCommandAdapter |
executeCommand, getCommand, getName, setCommand, setName |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public JTableDoubleClickCommandAdapter(javax.swing.JTable jtable,
Command command)
JTableDoubleClickCommandAdapter.
public JTableDoubleClickCommandAdapter(java.lang.String name,
javax.swing.JTable jtable,
Command command)
JTableDoubleClickCommandAdapter.
name - | Method Detail |
public javax.swing.JTable getJTree()
JTable adapted to the command.
public void setJTable(javax.swing.JTable jtable)
JTable to adapt to the command.
jtable - the JTable to adapt
public void dispose()
throws DisposeException
Disposable
Important:
This method is called by an administrating component
and must never be called directly.
The implementation should release any resources or objects allocated and
any services registered. Furthermore, this method should be developed
carefully to free a maximum of resources even when the system may
have become unstable. In case of one or multiple errors, you should collect
them in a DisposeException, continue with the execution,
and throw it at the end of the method.
Note: The implementation must not return before the component is disposed. Any threads or asynchronous calls started must be completed before this method returns.
DisposeException - if there was one or more errors while
disposing the component.Disposable.dispose()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||