|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Provides an interface for mechanisms that convert Action to
Transferable objects.
This conversion is needed in order for the clipboard
data transfer functionality to work.
| Method Summary | |
boolean |
canHandle(Action action)
Indicates that this ActionConverter can convert the given Action. |
boolean |
canHandle(Transferable transferable)
Indicates that this ActionConverter can convert the given Transferable. |
Action |
toAction(Transferable transferable)
Converts a Transferable to an Action. |
Transferable |
toTransferable(Action action)
Converts an Action to a Transferable. |
| Method Detail |
public boolean canHandle(Action action)
Action.
action - the Action which could be converted later by this ActionConverter
public boolean canHandle(Transferable transferable)
Transferable.
transferable - the Transferable which could be converted by this ActionConverter
public Transferable toTransferable(Action action)
Action to a Transferable.
action - the Action to be converted
public Action toAction(Transferable transferable)
Transferable to an Action.
transferable - the Transferable to be converted
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||