A
- the resulting type of a transformationpublic class ViewTarget<A> extends Object
DockAction
is transformed to by
a ActionViewConverter
. Clients may define their own ViewTargets, but
they must ensure, that the ActionViewConverter
knows these new targets.Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
ViewTarget(String id)
Creates a new ViewTarget.
|
public static final ViewTarget<MenuViewItem<JComponent>> MENU
public static final ViewTarget<BasicTitleViewItem<JComponent>> TITLE
DockTitle
public static final ViewTarget<DropDownViewItem> DROP_DOWN
DropDownAction
public ViewTarget(String id)
id
- the unique id of this target