public abstract class AbstractActionDescriptorBuilder<INSTANCE_TYPE extends IActionDescriptorBuilder<?>> extends java.lang.Object implements IActionDescriptorBuilder<INSTANCE_TYPE>
Modifier | Constructor and Description |
---|---|
protected |
AbstractActionDescriptorBuilder() |
Modifier and Type | Method and Description |
---|---|
IAction |
build() |
protected abstract IAction |
build(IActionBuilder actionBuilder) |
INSTANCE_TYPE |
setAccelerator(Accelerator accelerator) |
INSTANCE_TYPE |
setAccelerator(char key,
Modifier... modifier) |
INSTANCE_TYPE |
setAccelerator(VirtualKey virtualKey,
Modifier... modifier) |
INSTANCE_TYPE |
setIcon(IImageConstant icon) |
INSTANCE_TYPE |
setMnemonic(char mnemonic) |
INSTANCE_TYPE |
setMnemonic(java.lang.Character mnemonic) |
INSTANCE_TYPE |
setText(java.lang.String text) |
INSTANCE_TYPE |
setToolTipText(java.lang.String toolTipText) |
protected abstract IAction build(IActionBuilder actionBuilder)
public final INSTANCE_TYPE setText(java.lang.String text)
setText
in interface IActionDescriptorBuilder<INSTANCE_TYPE extends IActionDescriptorBuilder<?>>
public final INSTANCE_TYPE setToolTipText(java.lang.String toolTipText)
setToolTipText
in interface IActionDescriptorBuilder<INSTANCE_TYPE extends IActionDescriptorBuilder<?>>
public final INSTANCE_TYPE setIcon(IImageConstant icon)
setIcon
in interface IActionDescriptorBuilder<INSTANCE_TYPE extends IActionDescriptorBuilder<?>>
public final INSTANCE_TYPE setMnemonic(java.lang.Character mnemonic)
setMnemonic
in interface IActionDescriptorBuilder<INSTANCE_TYPE extends IActionDescriptorBuilder<?>>
public final INSTANCE_TYPE setMnemonic(char mnemonic)
setMnemonic
in interface IActionDescriptorBuilder<INSTANCE_TYPE extends IActionDescriptorBuilder<?>>
public final INSTANCE_TYPE setAccelerator(Accelerator accelerator)
setAccelerator
in interface IActionDescriptorBuilder<INSTANCE_TYPE extends IActionDescriptorBuilder<?>>
public final INSTANCE_TYPE setAccelerator(char key, Modifier... modifier)
setAccelerator
in interface IActionDescriptorBuilder<INSTANCE_TYPE extends IActionDescriptorBuilder<?>>
public final INSTANCE_TYPE setAccelerator(VirtualKey virtualKey, Modifier... modifier)
setAccelerator
in interface IActionDescriptorBuilder<INSTANCE_TYPE extends IActionDescriptorBuilder<?>>
public final IAction build()
build
in interface IActionDescriptorBuilder<INSTANCE_TYPE extends IActionDescriptorBuilder<?>>
Siehe auch Jowidgets Nutzerhandbuch