Constructor for ToggleButton. The supplied image is used to
construct the default face of the button.
Parameters: upImage - image for the default (up) face of the button Parameters: listener - the click listener
Constructor for ToggleButton.
Parameters: upImage - image for the default(up) face of the button Parameters: downImage - image for the down face of the button
Constructor for ToggleButton.
Parameters: upImage - image for the default(up) face of the button Parameters: downImage - image for the down face of the button Parameters: listener - clickListener
Constructor for ToggleButton. The supplied text is used to
construct the default face of the button.
Parameters: upText - the text for the default (up) face of the button.
Constructor for ToggleButton. The supplied text is used to
construct the default face of the button.
Parameters: upText - the text for the default (up) face of the button Parameters: listener - the click listener
Constructor for ToggleButton.
Parameters: upText - the text for the default (up) face of the button Parameters: downText - the text for down face of the button