Class sgraphics.widget.TextFieldGlyph
All Packages Class Hierarchy This Package Previous Next Index
Class sgraphics.widget.TextFieldGlyph
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.TextComponent
|
+----java.awt.TextField
|
+----sgraphics.widget.TextFieldGlyph
- public class TextFieldGlyph
- extends TextField
- implements Viewer, Widget, Glyph
A class that allows an awt text field to be used as a glyph.
-
TextFieldGlyph()
- Constructs a new TextField.
-
TextFieldGlyph(int)
- Constructs a new TextField initialized with the specified columns.
-
TextFieldGlyph(String)
- Constructs a new TextField initialized with the specified text.
-
TextFieldGlyph(String, int)
- Constructs a new TextField initialized with the specified text 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()
-
TextFieldGlyph
public TextFieldGlyph()
- Constructs a new TextField.
TextFieldGlyph
public TextFieldGlyph(int cols)
- Constructs a new TextField initialized with the specified columns.
- Parameters:
- cols - the number of columns
TextFieldGlyph
public TextFieldGlyph(String text)
- Constructs a new TextField initialized with the specified text.
- Parameters:
- text - the text to be displayed
TextFieldGlyph
public TextFieldGlyph(String text,
int cols)
- Constructs a new TextField initialized with the specified text and columns.
- Parameters:
- text - the text to be displayed
- cols - the number of columns
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