public class DruExpandingTextArea extends DruGCPanel implements TextActor, Ablable, TextArea, ValueWatcher
Modifier and Type | Field and Description |
---|---|
(package private) boolean |
autoResize |
(package private) boolean |
collapsed |
(package private) DButton |
downButton |
(package private) DTextArea |
dTextArea |
(package private) DPanel |
rbPanel |
(package private) DPanel |
rtPanel |
(package private) static long |
serialVersionUID |
(package private) StringValue |
stringValue |
(package private) DButton |
upButton |
actionRelay, methodName
infoReceiver, SCROLLABLE
Constructor and Description |
---|
DruExpandingTextArea(java.lang.String mn,
int width,
int height) |
Modifier and Type | Method and Description |
---|---|
void |
able(boolean b) |
void |
collapse() |
void |
focusGained() |
void |
focusLost() |
void |
setAntialiased() |
void |
setAutoResize(boolean b) |
void |
setBg(java.awt.Color c) |
void |
setEditable(boolean b) |
void |
setFontSize(int fs) |
void |
setLineBorder(int icol) |
void |
setPadding(int padding) |
void |
setStringValue(StringValue sv) |
void |
setTextBg(int icol) |
void |
textChanged(java.lang.String s) |
void |
textEdited(java.lang.String s) |
void |
textEntered(java.lang.String s) |
void |
uncollapse() |
void |
valueChangedBy(Value pv,
java.lang.Object src) |
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, postApply, removeAll, removeDComponent, removePanel, repaint, revalidate, seForegroundColor, setBackgroundColor, setBorderLayout, setColors, setColors, setEmptyBorder, setEtchedBorder, setEtchedUpBorder, setFallbackBackgroundColor, setFallbackForegroundColor, setFg, setFlowCenter, setFlowLayout, setFlowLeft, setFlowRight, setGridLayout, setID, setInfo, setInfoReceiver, setPreferredSize, setPreferredSize, setSingle, setSunkenBorder, setTip, setTitle, setTitleInfo, setTooltipTarget, toString, validate
static final long serialVersionUID
DTextArea dTextArea
DPanel rtPanel
DPanel rbPanel
DButton upButton
DButton downButton
StringValue stringValue
boolean collapsed
boolean autoResize
public DruExpandingTextArea(java.lang.String mn, int width, int height)
public void collapse()
public void uncollapse()
public void valueChangedBy(Value pv, java.lang.Object src)
valueChangedBy
in interface ValueWatcher
public void setStringValue(StringValue sv)
setStringValue
in interface StringValueEditor
public void textChanged(java.lang.String s)
textChanged
in interface TextActor
public void textEntered(java.lang.String s)
textEntered
in interface TextActor
public void textEdited(java.lang.String s)
textEdited
in interface TextActor
public void setTextBg(int icol)
public void setLineBorder(int icol)
public void setEditable(boolean b)
setEditable
in interface TextArea
public void setAntialiased()
public void setPadding(int padding)
public void setFontSize(int fs)
public void setAutoResize(boolean b)
public void focusGained()
focusGained
in interface FocusActor
public void focusLost()
focusLost
in interface FocusActor
Copyright © 2013. All Rights Reserved.