L - The layer for which this is the editor.public interface LayerEditor<L extends Layer>
Layer settings.| Modifier and Type | Interface and Description | 
|---|---|
| static interface  | LayerEditor.LayerEditorContextA context from which the layer editor may obtain context information and
 to which it may report events. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | commit()Save the current settings from the editor component to the layer. | 
| L | createLayer()Create a new layer with default settings. | 
| default java.util.List<java.awt.Component> | getAdditionalButtons()Get optional additional buttons which will be placed on the Edit Layer Dialog to the left of the OK and Cancel
 buttons. | 
| javax.swing.JComponent | getComponent()Get the actual layer editor component. | 
| L | getLayer()Get the layer currently being edited. | 
| ExporterSettings | getSettings()Get a copy of the current settings from the editor component
 without saving them or applying them to the layer. | 
| boolean | isCommitAvailable()Indicates whether the current settings are valid and complete and can
 therefore be committed. | 
| void | reset()Discard the current settings from the editor component and reload the
 settings from the layer being edited. | 
| void | setContext(LayerEditor.LayerEditorContext context)Set the context from which the layer editor must obtains its context
 information and to which it must report events. | 
| void | setLayer(L layer)Set the layer to be edited. | 
javax.swing.JComponent getComponent()
LayerEditor, in other words it should be
 possible to reuse the instance by invoking the other methods on the
 LayerEditor to set a layer, etc.default java.util.List<java.awt.Component> getAdditionalButtons()
L createLayer()
L getLayer()
void setLayer(L layer)
getComponent().layer - The layer to be edited.void commit()
java.lang.IllegalStateException - If invoked when the settings are incomplete
     or invalid, as indicated by isCommitAvailable().void reset()
ExporterSettings getSettings()
java.lang.IllegalStateException - If invoked when the settings are incomplete
     or invalid, as indicated by isCommitAvailable().boolean isCommitAvailable()
commit() and
 getSettings() will result in an IllegalStateException.true if the current settings are valid and complete
     and can be committed.void setContext(LayerEditor.LayerEditorContext context)
context - The context to set.