public class DruButton extends DruGCPanel implements LabelActor, Button, Suggestible
Modifier and Type | Field and Description |
---|---|
(package private) DBaseButton |
button |
(package private) java.util.ArrayList<Effect> |
effects |
(package private) java.lang.String |
label |
(package private) static long |
serialVersionUID |
actionRelay, methodName
infoReceiver, SCROLLABLE
Constructor and Description |
---|
DruButton(java.lang.String lab) |
DruButton(java.lang.String lab,
java.lang.String ac) |
Modifier and Type | Method and Description |
---|---|
void |
able(boolean b) |
void |
addEffect(Effect eff) |
void |
applyEffects(boolean b) |
void |
deSuggest() |
void |
disable() |
void |
enable() |
DBaseButton |
getButton() |
java.lang.String |
getLabel() |
void |
labelAction(java.lang.String s,
boolean b) |
DBaseButton |
makeButton(java.lang.String sl) |
void |
postApply() |
void |
setActionCommand(java.lang.String s) |
void |
setBg(java.awt.Color c) |
void |
setBoldFont() |
void |
setEffects(java.util.ArrayList<Effect> arl) |
void |
setFg(java.awt.Color c) |
void |
setIconSource(java.lang.String imgsrc) |
void |
setImage(java.lang.String iconName) |
void |
setLabelText(java.lang.String s) |
void |
setPadding(int padding) |
void |
setPadding(int pl,
int pr,
int pt,
int pb) |
void |
setRolloverPolicy(int inorm,
int ihover) |
void |
suggest() |
java.lang.String |
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
static final long serialVersionUID
java.lang.String label
java.util.ArrayList<Effect> effects
DBaseButton button
public DruButton(java.lang.String lab)
public DruButton(java.lang.String lab, java.lang.String ac)
public void suggest()
suggest
in interface Suggestible
public void deSuggest()
public DBaseButton getButton()
public void setRolloverPolicy(int inorm, int ihover)
public DBaseButton makeButton(java.lang.String sl)
public java.lang.String getLabel()
public void disable()
public void enable()
public void setBoldFont()
public void setImage(java.lang.String iconName)
public void setIconSource(java.lang.String imgsrc)
public void setLabelText(java.lang.String s)
public void setActionCommand(java.lang.String s)
public void applyEffects(boolean b)
public void labelAction(java.lang.String s, boolean b)
labelAction
in interface LabelActor
public void addEffect(Effect eff)
public void setEffects(java.util.ArrayList<Effect> arl)
public void setPadding(int padding)
public void setPadding(int pl, int pr, int pt, int pb)
Copyright © 2013. All Rights Reserved.