public abstract class BreakpointType extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
BreakpointType.Registration
Declarative registration of an BreakpointType implementation.
|
Constructor and Description |
---|
BreakpointType() |
Modifier and Type | Method and Description |
---|---|
abstract String |
getCategoryDisplayName()
Display name of cathegory of this breakpoint type.
|
Controller |
getController()
Return the implementation of
Controller interface.It's not desired to implement the Controller interface
by JComponent returned from BreakpointType.getCustomizer() method, because
of the clash of Controller.isValid() method with
Component.isValid() . |
abstract JComponent |
getCustomizer()
Returns visual customizer for this breakpoint type.
|
String |
getTypeDisplayName()
Provide the display name of this breakpoint type.
|
abstract boolean |
isDefault()
Should return true of this breakpoint type should be default one in
the current context.
|
public abstract String getCategoryDisplayName()
public String getTypeDisplayName()
BreakpointType.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 theController
interface any more, due to a clash ofController.isValid()
method withComponent.isValid()
. OverrideBreakpointType.getController()
method instead.
public Controller getController()
Controller
interface.Controller
interface
by JComponent returned from BreakpointType.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
.public abstract boolean isDefault()