Class AbstractTypeSymbolEditor
- All Implemented Interfaces:
TypeSymbolEditor
- Direct Known Subclasses:
MarkerFill,PictureFill,PictureMarker,SimpleFill,SimpleLine,SimpleMarker,SimpleText
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.
- Author:
- jaume dominguez faus - jaume.dominguez@iver.es
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.gvsig.fmap.dal.feature.FeatureStoreprotected SymbolEditor -
Constructor Summary
ConstructorsConstructorDescriptionCreates 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. -
Method Summary
Modifier and TypeMethodDescriptionprotected final voidorg.gvsig.fmap.dal.feature.FeaturevoidsetFeatureStore(org.gvsig.fmap.dal.feature.FeatureStore store) final StringtoString()This overrided method returns the text shown at the SymbolEditorPanel select combobox.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.gvsig.app.gui.styling.TypeSymbolEditor
canManageSymbol, getEditorTools, getLayer, getName, getTabs, refreshControls
-
Field Details
-
owner
-
featureStore
protected transient org.gvsig.fmap.dal.feature.FeatureStore featureStore
-
-
Constructor Details
-
AbstractTypeSymbolEditor
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.- Parameters:
owner- , the SymbolEditor which created this.
-
-
Method Details
-
toString
This overrided method returns the text shown at the SymbolEditorPanel select combobox. -
fireSymbolChangedEvent
protected final void fireSymbolChangedEvent() -
setFeatureStore
public void setFeatureStore(org.gvsig.fmap.dal.feature.FeatureStore store) -
getSampleFeature
public org.gvsig.fmap.dal.feature.Feature getSampleFeature()
-