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, waitgetComponentpublic final String getInspectorId()
getInspectorId in interface Inspectorpublic void deactivate()
deactivate in interface Inspectorpublic void setIcon(ImageIcon imageIcon)
public void addPropertyChangeListener(PropertyChangeListener listener)
addPropertyChangeListener in interface Inspectorpublic void removePropertyChangeListener(PropertyChangeListener listener)
removePropertyChangeListener in interface Inspectorpublic String getDescription()
getDescription in interface Inspectorpublic 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 XmlInspectorpublic Editor<XmlDocument> getEditor()
getEditor in interface EditorInspector<XmlDocument>getEditor in interface XmlInspectorpublic boolean isActive()
public boolean isContentHandler()
isContentHandler in interface EditorInspector<XmlDocument>isContentHandler in interface XmlInspectorpublic void locationChanged(EditorLocation<XmlDocument> location)
locationChanged in interface EditorLocationListener<XmlDocument>public boolean isEnabledFor(EditorView<XmlDocument> view)
isEnabledFor in interface EditorInspector<XmlDocument>isEnabledFor in interface XmlInspectorpublic void showInPanel()
Copyright © 2019. All Rights Reserved.