public class DefaultSymbologySwingManager extends java.lang.Object implements SymbologySwingManager
SymbologySwingManager
.Constructor and Description |
---|
DefaultSymbologySwingManager() |
Modifier and Type | Method and Description |
---|---|
void |
addOptionalActionToLegendsPanel(javax.swing.Action action) |
void |
addSymbolEditorPanel(java.lang.Class abstractTypeSymbolEditorPanelClass,
int shapeType)
Deprecated.
use registerTypeSymbolEditor
|
java.util.List<ColorTablePainter> |
createColorTables() |
LabelClassEditor |
createLabelClassEditor(ILabelClass labelClass,
FeatureStore store) |
PickerController<ISymbol> |
createSymbolPickerController(javax.swing.JButton btn,
ISymbol symbol) |
PickerController<ISymbol> |
createSymbolPickerController(javax.swing.JButton btnPreview,
javax.swing.text.JTextComponent txtDescription,
int geomType,
ISymbol symbol) |
ColorTablesFactory |
getColorTablesFactory() |
java.util.Collection<LabelClassEditorFactory> |
getLabelClassEditorFactories() |
LabelClassEditorFactory |
getLabelClassEditorFactory(ILabelClass labelClass) |
LabelClassEditorFactory |
getLabelClassEditorFactory(java.lang.String id) |
java.util.List<ILabelingStrategyPanel> |
getLabelingEditors() |
java.util.List<java.lang.Class<? extends ILegendPanel>> |
getLegendEditorClasses() |
java.util.List<ILegendPanel> |
getLegendEditors(FLayer layer) |
SymbologyManager |
getManager()
Returns the
SymbologyManager . |
java.lang.Iterable<javax.swing.Action> |
getOptionalActionOfLegendsPanel() |
java.util.List<java.lang.Class<? extends TypeSymbolEditor>> |
getSymbolEditorClassesByGeometryType(GeometryType geometryType) |
java.lang.String |
getTranslation(java.lang.String key)
Returns the translation of a string.
|
SymbologyWindowManager |
getWindowManager()
Returns the
SymbologyWindowManager . |
void |
registerLabelClassEditor(LabelClassEditorFactory factory) |
void |
registerLabelingEditor(java.lang.Class<? extends ILabelingStrategyPanel> labelingEditor) |
void |
registerLegendEditor(java.lang.Class<? extends ILegendPanel> legendEditor) |
void |
registerSymbolEditor(java.lang.Class<? extends TypeSymbolEditor> symbolEditor,
int shapeType) |
void |
registerWindowManager(SymbologyWindowManager manager)
Registers a new instance of a WindowManager which provides services to
the management of the application windows.
|
void |
setColorTablesFactory(ColorTablesFactory factory) |
public SymbologyManager getManager()
SymbologySwingManager
SymbologyManager
.getManager
in interface SymbologySwingManager
SymbologyManager
SymbologyManager}
public java.lang.String getTranslation(java.lang.String key)
SymbologySwingManager
getTranslation
in interface SymbologySwingManager
key
- String to translatepublic void registerWindowManager(SymbologyWindowManager manager)
SymbologySwingManager
registerWindowManager
in interface SymbologySwingManager
manager
- SymbologyWindowManager
to register in the
ScriptingUIManager.SymbologyWindowManager
public SymbologyWindowManager getWindowManager()
SymbologySwingManager
SymbologyWindowManager
.getWindowManager
in interface SymbologySwingManager
SymbologyWindowManager
SymbologyWindowManager}
public void setColorTablesFactory(ColorTablesFactory factory)
setColorTablesFactory
in interface SymbologySwingManager
public java.util.List<ColorTablePainter> createColorTables()
createColorTables
in interface SymbologySwingManager
public ColorTablesFactory getColorTablesFactory()
getColorTablesFactory
in interface SymbologySwingManager
public void addSymbolEditorPanel(java.lang.Class abstractTypeSymbolEditorPanelClass, int shapeType)
abstractTypeSymbolEditorPanelClass
- shapeType
- public void registerSymbolEditor(java.lang.Class<? extends TypeSymbolEditor> symbolEditor, int shapeType)
registerSymbolEditor
in interface SymbologySwingManager
public java.util.List<java.lang.Class<? extends TypeSymbolEditor>> getSymbolEditorClassesByGeometryType(GeometryType geometryType)
getSymbolEditorClassesByGeometryType
in interface SymbologySwingManager
public void registerLegendEditor(java.lang.Class<? extends ILegendPanel> legendEditor)
registerLegendEditor
in interface SymbologySwingManager
public java.util.List<java.lang.Class<? extends ILegendPanel>> getLegendEditorClasses()
getLegendEditorClasses
in interface SymbologySwingManager
public java.util.List<ILegendPanel> getLegendEditors(FLayer layer)
getLegendEditors
in interface SymbologySwingManager
public void registerLabelingEditor(java.lang.Class<? extends ILabelingStrategyPanel> labelingEditor)
registerLabelingEditor
in interface SymbologySwingManager
public java.util.List<ILabelingStrategyPanel> getLabelingEditors()
getLabelingEditors
in interface SymbologySwingManager
public void registerLabelClassEditor(LabelClassEditorFactory factory)
registerLabelClassEditor
in interface SymbologySwingManager
public java.util.Collection<LabelClassEditorFactory> getLabelClassEditorFactories()
getLabelClassEditorFactories
in interface SymbologySwingManager
public LabelClassEditorFactory getLabelClassEditorFactory(java.lang.String id)
getLabelClassEditorFactory
in interface SymbologySwingManager
public LabelClassEditorFactory getLabelClassEditorFactory(ILabelClass labelClass)
getLabelClassEditorFactory
in interface SymbologySwingManager
public LabelClassEditor createLabelClassEditor(ILabelClass labelClass, FeatureStore store)
createLabelClassEditor
in interface SymbologySwingManager
public java.lang.Iterable<javax.swing.Action> getOptionalActionOfLegendsPanel()
getOptionalActionOfLegendsPanel
in interface SymbologySwingManager
public void addOptionalActionToLegendsPanel(javax.swing.Action action)
addOptionalActionToLegendsPanel
in interface SymbologySwingManager
public PickerController<ISymbol> createSymbolPickerController(javax.swing.JButton btn, ISymbol symbol)
createSymbolPickerController
in interface SymbologySwingManager
public PickerController<ISymbol> createSymbolPickerController(javax.swing.JButton btnPreview, javax.swing.text.JTextComponent txtDescription, int geomType, ISymbol symbol)
createSymbolPickerController
in interface SymbologySwingManager