public class TextConfigurable<T> extends NamedConfigurable<T>
Configurable.Composite, Configurable.NoMargin, Configurable.NoScroll, Configurable.TopComponentController, Configurable.TopComponentProvider, Configurable.VariableProjectAppLevel, Configurable.WithEpDependencies
APPLICATION_CONFIGURABLE, PROJECT_CONFIGURABLE
Constructor and Description |
---|
TextConfigurable(T object,
java.lang.String displayName,
java.lang.String bannerSlogan,
java.lang.String descriptionText,
javax.swing.Icon icon) |
Modifier and Type | Method and Description |
---|---|
void |
apply()
Stores the settings from the Swing form to the configurable component.
|
javax.swing.JComponent |
createOptionsPanel() |
java.lang.String |
getBannerSlogan() |
java.lang.String |
getDisplayName()
Returns the visible name of the configurable component.
|
T |
getEditableObject() |
javax.swing.Icon |
getIcon(boolean open) |
boolean |
isModified()
Indicates whether the Swing form was modified or not.
|
void |
setDisplayName(java.lang.String name) |
checkName, createComponent, createTopRightComponent, isNameEditable, resetOptionsPanel, setNameFieldShown, toString, updateName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getHelpTopic, getPreferredFocusedComponent, isModified, isModified, isModified, isModified
cancel, disposeUIResources, reset
public TextConfigurable(T object, java.lang.String displayName, java.lang.String bannerSlogan, java.lang.String descriptionText, javax.swing.Icon icon)
public void setDisplayName(java.lang.String name)
setDisplayName
in class NamedConfigurable<T>
public boolean isModified()
UnnamedConfigurable
true
if the settings were modified, false
otherwisepublic void apply() throws ConfigurationException
UnnamedConfigurable
ConfigurationException
- if values cannot be appliedpublic T getEditableObject()
getEditableObject
in class NamedConfigurable<T>
public java.lang.String getBannerSlogan()
getBannerSlogan
in class NamedConfigurable<T>
public java.lang.String getDisplayName()
Configurable
public javax.swing.Icon getIcon(boolean open)
getIcon
in class NamedConfigurable<T>
public javax.swing.JComponent createOptionsPanel()
createOptionsPanel
in class NamedConfigurable<T>