This is different from a standard check box in that it has a transparent background and does not expect a text label (and will, in fact, complain if you try to set one).
Public Member Functions | |
CompleteBox () | |
Constructs a CompleteBox with no action. | |
CompleteBox (Action a) | |
Constructs a CompleteBox with the given action. | |
CompleteBox (Icon icon, boolean selected) | |
Constructs a CompleteBox with the given icon and initial selection state. | |
CompleteBox (Icon icon) | |
Constructs a CompleteBox with the given icon. | |
void | setText (String text) |
Protected Member Functions | |
void | fireStateChanged () |
Private Member Functions | |
void | setup () |
Sets up the visual appearance of this view. | |
CompleteBox (String text, boolean selected) | |
Private superclass constructor. | |
CompleteBox (String text, Icon icon, boolean selected) | |
Private superclass constructor. | |
CompleteBox (String text, Icon icon) | |
Private superclass constructor. | |
CompleteBox (String text) | |
Private superclass constructor. |
edu.cmu.hcii.calo.view.CompleteBox.CompleteBox | ( | ) |
Constructs a CompleteBox with no action.
edu.cmu.hcii.calo.view.CompleteBox.CompleteBox | ( | Action | a | ) |
edu.cmu.hcii.calo.view.CompleteBox.CompleteBox | ( | Icon | icon, | |
boolean | selected | |||
) |
Constructs a CompleteBox with the given icon and initial selection state.
icon | the icon to use | |
selected | the initial selection state |
edu.cmu.hcii.calo.view.CompleteBox.CompleteBox | ( | Icon | icon | ) |
edu.cmu.hcii.calo.view.CompleteBox.CompleteBox | ( | String | text, | |
boolean | selected | |||
) | [private] |
Private superclass constructor.
Do not use.
text | text label | |
selected | initial selection state |
edu.cmu.hcii.calo.view.CompleteBox.CompleteBox | ( | String | text, | |
Icon | icon, | |||
boolean | selected | |||
) | [private] |
Private superclass constructor.
Do not use.
text | text label | |
icon | icon | |
selected | initial selection state |
edu.cmu.hcii.calo.view.CompleteBox.CompleteBox | ( | String | text, | |
Icon | icon | |||
) | [private] |
Private superclass constructor.
Do not use.
text | text label | |
icon | icon |
edu.cmu.hcii.calo.view.CompleteBox.CompleteBox | ( | String | text | ) | [private] |
Private superclass constructor.
Do not use.
text | text label |
void edu.cmu.hcii.calo.view.CompleteBox.setup | ( | ) | [private] |
Sets up the visual appearance of this view.
void edu.cmu.hcii.calo.view.CompleteBox.setText | ( | String | text | ) |
void edu.cmu.hcii.calo.view.CompleteBox.fireStateChanged | ( | ) | [protected] |