Class sgraphics.widget.TextAreaGlyph
All Packages Class Hierarchy This Package Previous Next Index
Class sgraphics.widget.TextAreaGlyph
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.TextComponent
|
+----java.awt.TextArea
|
+----sgraphics.widget.TextAreaGlyph
- public class TextAreaGlyph
- extends TextArea
- implements Viewer, Widget, Glyph
A class that allows an awt text area to be used as a glyph.
-
TextAreaGlyph()
- Constructs a new TextArea.
-
TextAreaGlyph(int, int)
- Constructs a new TextArea with the specified number of rows and columns.
-
TextAreaGlyph(String)
- Constructs a new TextArea with the specified text displayed.
-
TextAreaGlyph(String, int, int)
- Constructs a new TextArea with the specified text and number of rows
and columns.
-
allocate(Allocation)
-
-
append(Glyph)
-
-
body()
-
-
count()
-
-
disconnected()
-
-
draw(Painter)
-
-
empty()
-
-
getChild(int)
-
-
getParentGlyph()
-
-
getSgraphicsAdapter()
-
-
grab(Viewer)
-
-
handleEvent(GraphicsEvent)
-
-
needRedraw()
-
-
needRedraw(Area)
-
-
needResize()
-
-
pick(Picker)
-
-
prepend(Glyph)
-
-
processPick(Picker, GraphicsEvent)
-
-
removeCallback()
-
-
replace(int, Glyph)
-
-
requirements()
-
-
setBody(Glyph)
-
-
setCallback(ViewerCallback)
-
-
setParent(Glyph)
-
-
swap(int, int)
-
-
ungrab()
-
TextAreaGlyph
public TextAreaGlyph()
- Constructs a new TextArea.
TextAreaGlyph
public TextAreaGlyph(int rows,
int cols)
- Constructs a new TextArea with the specified number of rows and columns.
- Parameters:
- rows - the number of rows
- cols - the number of columns
TextAreaGlyph
public TextAreaGlyph(String text)
- Constructs a new TextArea with the specified text displayed.
- Parameters:
- text - the text to be displayed
TextAreaGlyph
public TextAreaGlyph(String text,
int rows,
int cols)
- Constructs a new TextArea with the specified text and number of rows
and columns.
- Parameters:
- text - the text to be displayed
- rows - the number of rows
- cols - the number of cols
disconnected
public void disconnected()
requirements
public Requirements requirements()
allocate
public void allocate(Allocation allocation)
setParent
public void setParent(Glyph parent)
getParentGlyph
public Glyph getParentGlyph()
setCallback
public void setCallback(ViewerCallback callback)
removeCallback
public void removeCallback()
pick
public void pick(Picker pick)
processPick
public boolean processPick(Picker pick,
GraphicsEvent event)
handleEvent
public boolean handleEvent(GraphicsEvent event)
body
public Glyph body()
setBody
public void setBody(Glyph body)
append
public void append(Glyph glyph)
prepend
public void prepend(Glyph glyph)
replace
public void replace(int position,
Glyph glyph)
swap
public void swap(int position1,
int position2)
getChild
public Glyph getChild(int pos)
empty
public void empty()
count
public int count()
grab
public void grab(Viewer target)
ungrab
public void ungrab()
needRedraw
public void needRedraw()
needRedraw
public void needRedraw(Area area)
needResize
public void needResize()
draw
public void draw(Painter painter)
getSgraphicsAdapter
public SgraphicsAdapter getSgraphicsAdapter()
All Packages Class Hierarchy This Package Previous Next Index