public abstract class AttachType extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
AttachType.Registration
Declarative registration of an AttachType implementation.
|
Constructor and Description |
---|
AttachType() |
Modifier and Type | Method and Description |
---|---|
Controller |
getController()
Return the implementation of
Controller interface.It's not desired to implement the Controller interface
by JComponent returned from AttachType.getCustomizer() method, because
of the clash of Controller.isValid() method with
Component.isValid() . |
abstract JComponent |
getCustomizer()
Returns visual customizer for this Attach Type.
|
String |
getTypeDisplayName()
Provide the display name of this attach type.
|
public String getTypeDisplayName()
AttachType.Registration
annotation.
Therefore in this case the implementation should NOT override this method
as it's not called.public abstract JComponent getCustomizer()
Customizer can not implement theThe customizer can provide help by implementingController
interface any more, due to a clash ofController.isValid()
method withComponent.isValid()
. OverrideAttachType.getController()
method instead.
HelpCtx.Provider
public Controller getController()
Controller
interface.Controller
interface
by JComponent returned from AttachType.getCustomizer()
method, because
of the clash of Controller.isValid()
method with
Component.isValid()
. An explicit implementation
should be returned by overriding this method.
The default implementation returns null
, in which case
no Controller
is used.null
.