public final class JavadocConfigurable extends java.lang.Object implements Configurable
Configurable.Composite, Configurable.NoMargin, Configurable.NoScroll, Configurable.TopComponentController, Configurable.TopComponentProvider, Configurable.VariableProjectAppLevel, Configurable.WithEpDependencies
APPLICATION_CONFIGURABLE, PROJECT_CONFIGURABLE
Constructor and Description |
---|
JavadocConfigurable(JavadocConfiguration configuration,
Project project) |
Modifier and Type | Method and Description |
---|---|
void |
apply()
Stores the settings from the Swing form to the configurable component.
|
void |
applyTo(JavadocConfiguration configuration) |
javax.swing.JComponent |
createComponent()
Creates new Swing form that enables user to configure the settings.
|
void |
disposeUIResources()
Notifies the configurable component that the Swing form will be closed.
|
java.lang.String |
getDisplayName()
Returns the visible name of the configurable component.
|
java.lang.String |
getHelpTopic()
Returns the topic in the help file which is shown when help for the configurable is requested.
|
java.lang.String |
getOutputDir() |
javax.swing.JTextField |
getOutputDirField() |
boolean |
isModified()
Indicates whether the Swing form was modified or not.
|
void |
loadFrom(JavadocConfiguration configuration) |
void |
reset()
Loads the settings from the configurable component to the Swing form.
|
static boolean |
sdkHasJavadocUrls(Project project) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPreferredFocusedComponent, isModified, isModified, isModified, isModified
cancel
public JavadocConfigurable(JavadocConfiguration configuration, Project project)
public static boolean sdkHasJavadocUrls(Project project)
public javax.swing.JComponent createComponent()
UnnamedConfigurable
Also this place is designed to allocate resources (subscriptions/listeners etc.)
createComponent
in interface UnnamedConfigurable
null
if it cannot be createdUnnamedConfigurable.disposeUIResources()
public void applyTo(JavadocConfiguration configuration)
public void loadFrom(JavadocConfiguration configuration)
public boolean isModified()
UnnamedConfigurable
isModified
in interface UnnamedConfigurable
true
if the settings were modified, false
otherwisepublic final void apply()
UnnamedConfigurable
apply
in interface UnnamedConfigurable
public void reset()
UnnamedConfigurable
reset
in interface UnnamedConfigurable
public void disposeUIResources()
UnnamedConfigurable
disposeUIResources
in interface UnnamedConfigurable
public java.lang.String getDisplayName()
Configurable
getDisplayName
in interface Configurable
public java.lang.String getHelpTopic()
Configurable
getHelpTopic
in interface Configurable
null
if no help is availablepublic java.lang.String getOutputDir()
public javax.swing.JTextField getOutputDirField()