public class JFocusableComponentInspector<T extends JComponent> extends Object implements Inspector
DESCRIPTION_PROPERTY, ENABLED_PROPERTY, ICON_PROPERTY, TITLE_PROPERTY
Constructor and Description |
---|
JFocusableComponentInspector(T component,
JComponent target,
String title,
String description,
boolean enabled) |
Modifier and Type | Method and Description |
---|---|
void |
activate() |
void |
addPropertyChangeListener(PropertyChangeListener listener) |
void |
deactivate() |
T |
getComponent() |
String |
getDescription() |
ImageIcon |
getIcon() |
String |
getInspectorId() |
String |
getTitle() |
boolean |
isEnabled() |
void |
release() |
void |
removePropertyChangeListener(PropertyChangeListener listener) |
void |
setDescription(String description) |
void |
setEnabled(boolean enabled) |
void |
setIcon(ImageIcon imageIcon) |
void |
setTitle(String title) |
public JFocusableComponentInspector(T component, JComponent target, String title, String description, boolean enabled)
public void addPropertyChangeListener(PropertyChangeListener listener)
addPropertyChangeListener
in interface Inspector
public T getComponent()
getComponent
in interface Inspector
public String getDescription()
getDescription
in interface Inspector
public String getInspectorId()
getInspectorId
in interface Inspector
public void setDescription(String description)
public void setEnabled(boolean enabled)
public void setTitle(String title)
public void removePropertyChangeListener(PropertyChangeListener listener)
removePropertyChangeListener
in interface Inspector
public void setIcon(ImageIcon imageIcon)
public void deactivate()
deactivate
in interface Inspector
Copyright © 2019. All Rights Reserved.