public interface GameObjectAttributesTab<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
| Modifier and Type | Method and Description |
|---|---|
void |
activate()
Sets the focus to this component.
|
void |
addGameObjectAttributesTabListener(@NotNull GameObjectAttributesTabListener<G,A,R> listener)
Adds a listener.
|
void |
apply()
Applies the current settings.
|
boolean |
canApply()
Returns whether a selected game object exists and the current value
differs from the initially set value.
|
@NotNull javax.swing.JPanel |
getPanel()
Creates the contents panel.
|
@NotNull Severity |
getTabSeverity()
Returns the tab severity.
|
void |
removeGameObjectAttributesTabListener(@NotNull GameObjectAttributesTabListener<G,A,R> listener)
Removes a listener.
|
@NotNull @NotNull javax.swing.JPanel getPanel()
boolean canApply()
apply() should be calledvoid apply()
canApply() returns true.void addGameObjectAttributesTabListener(@NotNull
@NotNull GameObjectAttributesTabListener<G,A,R> listener)
listener - the listenervoid removeGameObjectAttributesTabListener(@NotNull
@NotNull GameObjectAttributesTabListener<G,A,R> listener)
listener - the listener@NotNull @NotNull Severity getTabSeverity()
void activate()