public abstract class AbstractXmlInspector extends Object implements XmlInspector
Modifier and Type | Field and Description |
---|---|
static org.apache.log4j.Logger |
log |
DESCRIPTION_PROPERTY, ENABLED_PROPERTY, ICON_PROPERTY, TITLE_PROPERTY
Modifier | Constructor and Description |
---|---|
protected |
AbstractXmlInspector(String title,
String description,
boolean enabled,
String inspectorId) |
Modifier and Type | Method and Description |
---|---|
void |
activate() |
void |
addPropertyChangeListener(PropertyChangeListener listener) |
void |
deactivate() |
String |
getDescription() |
Editor<XmlDocument> |
getEditor() |
ImageIcon |
getIcon() |
String |
getInspectorId() |
String |
getTitle() |
void |
init(Editor<XmlDocument> editor) |
boolean |
isActive() |
boolean |
isContentHandler() |
boolean |
isEnabled() |
boolean |
isEnabledFor(EditorView<XmlDocument> view) |
void |
locationChanged(EditorLocation<XmlDocument> location) |
void |
release() |
void |
removePropertyChangeListener(PropertyChangeListener listener) |
void |
setDescription(String description) |
void |
setEnabled(boolean enabled) |
void |
setIcon(ImageIcon imageIcon) |
void |
setTitle(String title) |
void |
showInPanel()
Make this inspector visible in the enclosing inspector panel.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getComponent
public final String getInspectorId()
getInspectorId
in interface Inspector
public void deactivate()
deactivate
in interface Inspector
public void setIcon(ImageIcon imageIcon)
public void addPropertyChangeListener(PropertyChangeListener listener)
addPropertyChangeListener
in interface Inspector
public void removePropertyChangeListener(PropertyChangeListener listener)
removePropertyChangeListener
in interface Inspector
public String getDescription()
getDescription
in interface Inspector
public void setDescription(String description)
public void setTitle(String title)
public void setEnabled(boolean enabled)
public void init(Editor<XmlDocument> editor)
init
in interface EditorInspector<XmlDocument>
init
in interface XmlInspector
public Editor<XmlDocument> getEditor()
getEditor
in interface EditorInspector<XmlDocument>
getEditor
in interface XmlInspector
public boolean isActive()
public boolean isContentHandler()
isContentHandler
in interface EditorInspector<XmlDocument>
isContentHandler
in interface XmlInspector
public void locationChanged(EditorLocation<XmlDocument> location)
locationChanged
in interface EditorLocationListener<XmlDocument>
public boolean isEnabledFor(EditorView<XmlDocument> view)
isEnabledFor
in interface EditorInspector<XmlDocument>
isEnabledFor
in interface XmlInspector
public void showInPanel()
Copyright © 2019. All Rights Reserved.