public abstract class AbstractTypeSymbolEditor extends Object implements TypeSymbolEditor
Abstract class that all the Symbol settings GUI's must extend. This is not Component by it self, but a bag of JPanels with the required interface to be operable from the SymbolEditor. The panels provide by this are the tabs of the JTabbedPane of the options area in the SymbolEditor.
The components contained by this panelset are automatically placed in the SymbolEditor's symbol options area. In case other panel of this was already placed, then the old one is replaced by this.
In order to the SymbolEditor owner of this to decide which AbstractTypeSymbolEditorPanel will be placed each symbol editor panel must define the type of the symbol it is able to configure. To do this, AbstractTypeSymbolEditorPanel includes the abstract method getSymbolClass() which will return the Class of the corresponding symbol. The symbol class must define an implementation of ISymbol in general, and one of IMarkerSymbol, ILineSymbol or IFillSymbol in particular, depending of the context of the symbology being edited.
Modifier and Type | Field and Description |
---|---|
protected SymbolEditor |
owner |
Constructor and Description |
---|
AbstractTypeSymbolEditor(SymbolEditor owner)
Creates a new instance of this type symbol editor panel associated to
its SymbolEditor parent which will be notified of the changes in
order to keep the symbol preview in sync with the user settings.
|
Modifier and Type | Method and Description |
---|---|
protected void |
fireSymbolChangedEvent() |
String |
toString()
This overrided method returns the text shown at the SymbolEditorPanel
select combobox.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
canManageSymbol, getEditorTools, getLayer, getName, getTabs, refreshControls
protected SymbolEditor owner
public AbstractTypeSymbolEditor(SymbolEditor owner)
owner,
- the SymbolEditor which created this.