public class

OptionalLabelledComponent

extends LabelledComponent
implements ItemListener
java.lang.Object
   ↳ java.awt.Component
     ↳ java.awt.Container
       ↳ javax.swing.JComponent
         ↳ javax.swing.JPanel
           ↳ com.atlassian.jira.configurator.gui.LabelledComponent
             ↳ com.atlassian.jira.configurator.gui.OptionalLabelledComponent

Class Overview

Marks a component with a checkbox. The internal component is disabled when the checkbox is unchecked and reappears when the checkbox is checked.

Summary

[Expand]
Inherited Constants
From class javax.swing.JComponent
From class java.awt.Component
From interface java.awt.image.ImageObserver
[Expand]
Inherited Fields
From class javax.swing.JComponent
From class java.awt.Component
Public Constructors
OptionalLabelledComponent(String label, JComponent component, String defaultValue)
Public Methods
boolean isUsingDefault()
void itemStateChanged(ItemEvent e)
void setValue(Object newValue)
[Expand]
Inherited Methods
From class com.atlassian.jira.configurator.gui.LabelledComponent
From class javax.swing.JPanel
From class javax.swing.JComponent
From class java.awt.Container
From class java.awt.Component
From class java.lang.Object
From interface java.awt.MenuContainer
From interface java.awt.event.ItemListener
From interface java.awt.image.ImageObserver
From interface javax.accessibility.Accessible

Public Constructors

public OptionalLabelledComponent (String label, JComponent component, String defaultValue)

Public Methods

public boolean isUsingDefault ()

public void itemStateChanged (ItemEvent e)

public void setValue (Object newValue)