|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbibliothek.gui.dock.action.view.ViewTarget<A>
A - the resulting type of a transformationpublic class ViewTarget<A>
Defines for which platform a DockAction is transformed to by
a ActionViewConverter. Clients may define their own ViewTargets, but
they must ensure, that the ActionViewConverter knows these new targets.
| Field Summary | |
|---|---|
static ViewTarget<DropDownViewItem> |
DROP_DOWN
A target aiming to a DropDownAction |
static ViewTarget<MenuViewItem<JComponent>> |
MENU
A target for a JMenu |
static ViewTarget<BasicTitleViewItem<JComponent>> |
TITLE
A target for an item shown on a DockTitle |
| Constructor Summary | |
|---|---|
ViewTarget(String id)
Creates a new ViewTarget. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final ViewTarget<MenuViewItem<JComponent>> MENU
public static final ViewTarget<BasicTitleViewItem<JComponent>> TITLE
DockTitle
public static final ViewTarget<DropDownViewItem> DROP_DOWN
DropDownAction
| Constructor Detail |
|---|
public ViewTarget(String id)
id - the unique id of this target| Method Detail |
|---|
public String toString()
toString in class Objectpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||