public class DruToggleButton extends DruButton implements GroupContingent
Modifier and Type | Field and Description |
---|---|
(package private) ContingencyGroup |
contingencyGroup |
(package private) static long |
serialVersionUID |
(package private) DToggleButton |
toggleButton |
(package private) java.lang.String |
value |
actionRelay, methodName
infoReceiver, SCROLLABLE
Constructor and Description |
---|
DruToggleButton(java.lang.String lab,
java.lang.String act) |
Modifier and Type | Method and Description |
---|---|
void |
deselect() |
java.lang.String |
getValue() |
void |
labelAction(java.lang.String s,
boolean b) |
DBaseButton |
makeButton(java.lang.String lab) |
void |
select() |
void |
setBg(java.awt.Color c) |
void |
setContingencyGroup(ContingencyGroup cg) |
void |
setGroupAction(java.lang.String action) |
void |
setInitialValue(boolean b) |
void |
setOffImage(java.lang.String iconName) |
void |
setOnImage(java.lang.String iconName) |
void |
setToggle(java.lang.String gr,
java.lang.String va) |
able, addEffect, applyEffects, deSuggest, disable, enable, getButton, getLabel, postApply, setActionCommand, setBoldFont, setEffects, setFg, setIconSource, setImage, setLabelText, setPadding, setPadding, setRolloverPolicy, suggest, toString
action, action, action, action, action, action, action, disableRelaying, getAction, getActionRelay, hasAction, hasRelay, performAction, performAction, setAction, setActionMethod, setActionRelay, setMethodName, unstoredValueChange, valueChange, valueChange, valueChange, valueChange, valueChange
addBorder, addCardPanel, addDComponent, addDComponent, addEtchedBorder, addMenu, addPanel, addPanel, addRaw, addSingleDComponent, addSunkenBorder, addTitledBorder, exportInfo, getBg, getGUIPeer, getID, getInfo, getInfoReceiver, getLocation, getPreferredSize, getTip, getTitle, getXYLocationOnScreen, mouseButtonPressed, removeAll, removeDComponent, removePanel, repaint, revalidate, seForegroundColor, setBackgroundColor, setBorderLayout, setColors, setColors, setEmptyBorder, setEtchedBorder, setEtchedUpBorder, setFallbackBackgroundColor, setFallbackForegroundColor, setFlowCenter, setFlowLayout, setFlowLeft, setFlowRight, setGridLayout, setID, setInfo, setInfoReceiver, setPreferredSize, setPreferredSize, setSingle, setSunkenBorder, setTip, setTitle, setTitleInfo, setTooltipTarget, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
disable, enable
static final long serialVersionUID
java.lang.String value
ContingencyGroup contingencyGroup
DToggleButton toggleButton
public DruToggleButton(java.lang.String lab, java.lang.String act)
public DBaseButton makeButton(java.lang.String lab)
makeButton
in class DruButton
public void setToggle(java.lang.String gr, java.lang.String va)
public java.lang.String getValue()
public void setInitialValue(boolean b)
public void labelAction(java.lang.String s, boolean b)
labelAction
in interface LabelActor
labelAction
in class DruButton
public void setContingencyGroup(ContingencyGroup cg)
public void select()
select
in interface GroupContingent
public void deselect()
deselect
in interface GroupContingent
public void setOffImage(java.lang.String iconName)
public void setOnImage(java.lang.String iconName)
public void setGroupAction(java.lang.String action)
Copyright © 2013. All Rights Reserved.