|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.AbstractButton
javax.swing.JToggleButton
javax.swing.JCheckBox
com.github.croesch.micro_debug.gui.components.basic.MDCheckBox
public class MDCheckBox
An extension of JCheckBox that contains some default behavior that not each client should have to implement.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JCheckBox |
|---|
JCheckBox.AccessibleJCheckBox |
| Nested classes/interfaces inherited from class javax.swing.JToggleButton |
|---|
JToggleButton.AccessibleJToggleButton, JToggleButton.ToggleButtonModel |
| Nested classes/interfaces inherited from class javax.swing.AbstractButton |
|---|
AbstractButton.AccessibleAbstractButton, AbstractButton.ButtonChangeListener |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary |
|---|
| Fields inherited from class javax.swing.JCheckBox |
|---|
BORDER_PAINTED_FLAT_CHANGED_PROPERTY |
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface javax.swing.SwingConstants |
|---|
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
MDCheckBox(String name)
Creates an unselected MDCheckBox button with the given name, no text and no icon. |
|
MDCheckBox(String name,
Action a)
Creates an unselected MDCheckBox button with the given name, and other properties are fetched from the
given Action. |
|
MDCheckBox(String name,
Icon icon)
Creates an unselected MDCheckBox button with the given name, the given icon but no text. |
|
MDCheckBox(String name,
Icon icon,
boolean selected)
Creates a MDCheckBox button with the given name, the given icon but no text. |
|
MDCheckBox(String name,
String text)
Creates an unselected MDCheckBox button with the given name, the given text but no icon. |
|
MDCheckBox(String name,
String text,
boolean selected)
Creates a MDCheckBox button with the given name, the given text but no icon. |
|
MDCheckBox(String name,
String text,
Icon icon)
Creates an unselected MDCheckBox button with the given name, the given text and the given icon. |
|
MDCheckBox(String name,
String text,
Icon icon,
boolean selected)
Creates a MDCheckBox button with the given name, the given text and the given icon. |
|
| Method Summary | |
|---|---|
void |
invert()
Inverts the background color of this component. |
| Methods inherited from class javax.swing.JCheckBox |
|---|
getAccessibleContext, getUIClassID, isBorderPaintedFlat, paramString, setBorderPaintedFlat, updateUI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MDCheckBox(String name)
MDCheckBox button with the given name, no text and no icon.
name - the name of this MDCheckBox
public MDCheckBox(String name,
Icon icon)
MDCheckBox button with the given name, the given icon but no text.
name - the name of this MDCheckBoxicon - the image to display
public MDCheckBox(String name,
String text)
MDCheckBox button with the given name, the given text but no icon.
name - the name of this MDCheckBoxtext - the text of this MDCheckBox
public MDCheckBox(String name,
Action a)
MDCheckBox button with the given name, and other properties are fetched from the
given Action.
name - the name of this MDCheckBoxa - the Action to fetch some properties from
public MDCheckBox(String name,
Icon icon,
boolean selected)
MDCheckBox button with the given name, the given icon but no text.
name - the name of this MDCheckBoxicon - the image to displayselected - the initial selection state, true if selected,false otherwise
public MDCheckBox(String name,
String text,
boolean selected)
MDCheckBox button with the given name, the given text but no icon.
name - the name of this MDCheckBoxtext - the text of this MDCheckBoxselected - the initial selection state, true if selected,false otherwise
public MDCheckBox(String name,
String text,
Icon icon)
MDCheckBox button with the given name, the given text and the given icon.
name - the name of this MDCheckBoxtext - the text of this MDCheckBoxicon - the image to display
public MDCheckBox(String name,
String text,
Icon icon,
boolean selected)
MDCheckBox button with the given name, the given text and the given icon.
name - the name of this MDCheckBoxtext - the text of this MDCheckBoxicon - the image to displayselected - the initial selection state, true if selected,false otherwise| Method Detail |
|---|
public final void invert()
invert in interface IInvertable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||