|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gnu.glib.Struct
org.gnu.glib.GObject
org.gnu.gtk.GtkObject
org.gnu.gtk.Widget
org.gnu.gtk.Container
org.gnu.gtk.TextView
org.gnome.gtk.TextView
.
You should be aware that there is a considerably different API
in the new library: the architecture is completely different
and most notably internals are no longer exposed to public view.
public class TextView
Widget for displaying textual data.
java-gnome has an extremely powerful framework for multiline text editing.
The primary objects involved in the process are TextBuffer
, which
represents the text being edited, and TextView
, a widget which can
display a TextBuffer. Each buffer can be displayed by any number of views.
One of the important things to remember about text in java-gnome is that it's in the UTF-8 encoding. This means that one character can be encoded as multiple bytes. Character counts are usually referred to as offsets, while byte counts are called indexes. If you confuse these two, things will work fine with ASCII, but as soon as your buffer contains multibyte characters, bad things will happen.
Text in a buffer can be marked with tags. A tag is an attribute that can be
applied to some range of text. For example, a tag might be called "bold" and
make the text inside the tag bold. However, the tag concept is more general
than that; tags don't have to affect appearance. They can instead affect the
behavior of mouse and key presses, "lock" a range of text so the user can't
edit it, or countless other things. A tag is represented by a TextTag
object. One TextTag can be applied to any number of text ranges in any number
of buffers.
Each tag is stored in a TextTagTable
. A tag table defines a set of
tags that can be used together. Each buffer has one tag table associated with
it; only tags from that tag table can be used with the buffer. A single tag
table can be shared between multiple buffers, however.
Tags can have names, which is convenient sometimes (for example, you can name your tag that makes things bold "bold"), but they can also be anonymous (which is convenient if you're creating tags on-the-fly).
Most text manipulation is accomplished with iterators, represented by a
TextIter
. An iterator represents a position between two characters
in the text buffer. Iterators are not valid indefinitely; whenever the buffer
is modified in a way that affects the number of characters in the buffer, all
outstanding iterators become invalid. (Note that deleting 5 characters and
then reinserting 5 still invalidates iterators, though you end up with the
same number of characters you pass through a state with a different number).
Because of this, iterators can't be used to preserve positions across buffer
modifications. To preserve a position, the TextMark
object is ideal.
You can think of a mark as an invisible cursor or insertion point; it floats
in the buffer, saving a position. If the text surrounding the mark is
deleted, the mark remains in the position the text once occupied; if text is
inserted at the mark, the mark ends up either to the left or to the right of
the new text, depending on its gravity. The standard text cursor in
left-to-right languages is a mark with right gravity, because it stays to the
right of inserted text.
Like tags, marks can be either named or anonymous. There are two marks
built-in to TextBuffer
; these are named "insert" and
"selection_bound" and refer to the insertion point and the boundary of the
selection which is not the insertion point, respectively. If no text is
selected, these two marks will be in the same position. You can manipulate
what is selected and where the cursor appears by moving these marks around.
Text buffers always contain at least one line, but may be empty (that is, buffers can contain zero characters). The last line in the text buffer never ends in a line separator (such as newline); the other lines in the buffer always end in a line separator. Line separators count as characters when computing character counts and character offsets. Note that some Unicode line separators are represented with multiple bytes in UTF-8, and the two-character sequence "\r\n" is also considered a line separator.
Nested Class Summary | |
---|---|
static class |
TextView.VerticalLineRange
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
Constructor Summary | |
---|---|
TextView()
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
|
TextView(org.gnu.glib.Handle handle)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
|
TextView(TextBuffer buffer)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
Method Summary | |
---|---|
void |
addChild(Widget child,
TextChildAnchor anchor)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
void |
addListener(TextViewListener listener)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
Point |
bufferToWindowCoords(TextWindowType winType,
int xCoord,
int yCoord)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
boolean |
getAcceptsTab()
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
int |
getBorderWindowSize(TextWindowType type)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
TextBuffer |
getBuffer()
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
boolean |
getCursorVisible()
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
TextAttributes |
getDefaultAttributes()
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
boolean |
getEditable()
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
java.lang.Class |
getEventListenerClass(java.lang.String signal)
Deprecated. |
org.gnu.glib.EventType |
getEventType(java.lang.String signal)
Deprecated. |
Adjustment |
getHAdjustment()
Deprecated. |
int |
getIndent()
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
TextIter |
getIterAtLocation(int x,
int y)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
TextIter |
getIterAtLocation(Point bufferCoords)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
Justification |
getJustification()
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
int |
getLeftMargin()
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
TextView.VerticalLineRange |
getLineYRange(TextIter iter)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
boolean |
getOverwrite()
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
int |
getPixelsAboveLines()
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
int |
getPixelsBelowLines()
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
int |
getPixelsInsideWrap()
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
int |
getRightMargin()
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
TabArray |
getTabs()
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
static TextView |
getTextView(org.gnu.glib.Handle handle)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
static org.gnu.glib.Type |
getType()
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
Adjustment |
getVAdjustment()
Deprecated. |
Rectangle |
getVisibleRectangle()
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
Window |
getWindow(TextWindowType type)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
TextWindowType |
getWindowType(Window win)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
WrapMode |
getWrapMode()
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
boolean |
moveCursorOnScreen()
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
boolean |
moveMarkOnScreen(TextMark mark)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
void |
removeListener(TextViewListener listener)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
void |
scrollMarkOnScreen(TextMark mark)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
boolean |
scrollToIter(TextIter iter,
double withinMargin)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
boolean |
scrollToIter(TextIter iter,
double withinMargin,
double xAlign,
double yAlign)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
void |
scrollToMark(TextMark mark,
double withinMargin)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
void |
scrollToMark(TextMark mark,
double withinMargin,
boolean useAlign,
double xAlign,
double yAlign)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
void |
setAcceptsTab(boolean acceptsTab)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
void |
setBorderWindowSize(TextWindowType type,
int size)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
void |
setBuffer(TextBuffer buffer)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
void |
setCursorVisible(boolean setting)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
void |
setEditable(boolean setting)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
void |
setIndent(int indent)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
void |
setJustification(Justification justification)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
void |
setLeftMargin(int leftMargin)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
void |
setOverwrite(boolean overwrite)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
void |
setPixelsAboveLines(int pixelsAboveLines)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
void |
setPixelsBelowLine(int pixelsBelowLines)
Deprecated. Use setPixelsBelowLines(int) instead. |
void |
setPixelsBelowLines(int pixelsBelowLines)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
void |
setPixelsInsideWrap(int pixelsInsideWrap)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
void |
setRightMargin(int rightMargin)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
void |
setTabs(TabArray tabStops)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
void |
setWrapMode(WrapMode wrapMode)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
Point |
windowToBufferCoords(TextWindowType winType,
int xCoord,
int yCoord)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries. |
Methods inherited from class org.gnu.gtk.Container |
---|
add, addListener, getBooleanChildProperty, getBorderWidth, getChildProperty, getChildren, getIntChildProperty, getResizeMode, remove, removeListener, resizeChildren, setBooleanChildProperty, setBorderWidth, setChildProperty, setIntChildProperty, setResizeMode |
Methods inherited from class org.gnu.gtk.GtkObject |
---|
destroy, sink |
Methods inherited from class org.gnu.glib.GObject |
---|
addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addListener, collect, freezeNotify, getBooleanProperty, getData, getDoubleProperty, getFloatProperty, getGObjectFromHandle, getIntProperty, getJavaObjectProperty, getLongProperty, getProperty, getStringProperty, hasProperty, notify, removeEventHandler, removeListener, setBooleanProperty, setData, setDoubleProperty, setFloatProperty, setIntProperty, setJavaObjectProperty, setLongProperty, setProperty, setStringProperty, thawNotify |
Methods inherited from class org.gnu.glib.Struct |
---|
equals, getHandle, getNullHandle, hashCode |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TextView()
public TextView(TextBuffer buffer)
buffer
- Buffer to usepublic TextView(org.gnu.glib.Handle handle)
Method Detail |
---|
public static TextView getTextView(org.gnu.glib.Handle handle)
public void setBuffer(TextBuffer buffer)
buffer
- The new buffer to displaypublic TextBuffer getBuffer()
public void scrollToMark(TextMark mark, double withinMargin, boolean useAlign, double xAlign, double yAlign)
mark
- A TextMark
withinMargin
- Margin as a fraction of screen sizeuseAlign
- Whether to use alignment arguments.xAlign
- Horizontal alignment of mark within visible area.yAlign
- :
vertical alignment of mark within visible areapublic void scrollToMark(TextMark mark, double withinMargin)
mark
- A TextMark
withinMargin
- Margin as a fraction of screen sizepublic TextIter getIterAtLocation(int x, int y)
x
and y
within the buffer. Coordinates
obtained in relation to the widget must be converted to buffer
coordinates using windowToBufferCoords before passing them into this
method.
x
- x buffer coordinatey
- y buffer coordinate
public TextIter getIterAtLocation(Point bufferCoords)
bufferCoords
- a Point representing a pair of buffer coordinates
public Point windowToBufferCoords(TextWindowType winType, int xCoord, int yCoord)
winType
to buffer coordinates.
winType
- a TextWindowType
.xCoord
- the x-coordinate in relation to the Window winyCoord
- the y-coordinate in relation to the Window win
public boolean scrollToIter(TextIter iter, double withinMargin, double xAlign, double yAlign)
scrollToMark(TextMark, double, boolean, double, double)
which
saves a point to be scrolled to after line validation.
iter
- a TextIterwithinMargin
- Margin as a [0.0,0.5) fraction of screen size.xAlign
- :
horizontal alignment of mark within visible area.yAlign
- :
vertical alignment of mark within visible area
public boolean scrollToIter(TextIter iter, double withinMargin)
iter
- a TextIterwithinMargin
- Margin as a [0.0,0.5) fraction of screen size.
public boolean moveCursorOnScreen()
public boolean moveMarkOnScreen(TextMark mark)
public void addChild(Widget child, TextChildAnchor anchor)
child
- A Widgetanchor
- A TextChildAnchor in the TextBuffer for his viewpublic WrapMode getWrapMode()
public void setWrapMode(WrapMode wrapMode)
wrapMode
- A WrapModepublic void setEditable(boolean setting)
setting
- Whether it's editablepublic boolean getEditable()
public boolean getCursorVisible()
public void setCursorVisible(boolean setting)
setting
- Whether to show the insertion cursorpublic int getPixelsAboveLines()
public int getPixelsBelowLines()
public int getPixelsInsideWrap()
public void setPixelsAboveLines(int pixelsAboveLines)
pixelsAboveLines
- Pixels above paragraphspublic void setPixelsBelowLine(int pixelsBelowLines)
setPixelsBelowLines(int)
instead.
pixelsBelowLines
- Pixels below paragraphspublic void setPixelsBelowLines(int pixelsBelowLines)
pixelsBelowLines
- Pixels below paragraphspublic void setPixelsInsideWrap(int pixelsInsideWrap)
pixelsInsideWrap
- Default number of pixels between wrapped linespublic Justification getJustification()
public void setJustification(Justification justification)
justification
- The justification to use.public int getLeftMargin()
public int getRightMargin()
public void setLeftMargin(int leftMargin)
leftMargin
- Size of left margin, in pixelspublic void setRightMargin(int rightMargin)
rightMargin
- Size of right margin, in pixelspublic int getIndent()
public void setIndent(int indent)
indent
- Indentation in pixelspublic TabArray getTabs()
public void setTabs(TabArray tabStops)
tabStops
- tabs as a PangoTabArraypublic TextAttributes getDefaultAttributes()
public void setAcceptsTab(boolean acceptsTab)
acceptsTab
- TRUE if pressing the Tab key should insert a tab character,
FALSE, if pressing the Tab key should move the keyboard focuspublic boolean getAcceptsTab()
setAcceptsTab(boolean)
public void setOverwrite(boolean overwrite)
overwrite
- TRUE to turn on overwrite mode, FALSE to turn it offpublic boolean getOverwrite()
setOverwrite(boolean)
public Adjustment getHAdjustment()
public Adjustment getVAdjustment()
public java.lang.Class getEventListenerClass(java.lang.String signal)
getEventListenerClass
in class Container
public org.gnu.glib.EventType getEventType(java.lang.String signal)
getEventType
in class Container
public TextView.VerticalLineRange getLineYRange(TextIter iter)
iter
,
and the height of the line. The coordinate is a buffer coordinate;
convert to window coordinates with
windowToBufferCoords(TextWindowType, int, int)
.
iter
- A valid TextIter
public Point bufferToWindowCoords(TextWindowType winType, int xCoord, int yCoord)
winType
. Note that you can't convert coordinates for a
non-existing window (see
setBorderWindowSize(TextWindowType, int)
.
winType
- a TextWindowType
xCoord
- buffer X coordinateyCoord
- buffer Y coordinate
public void setBorderWindowSize(TextWindowType type, int size)
TextWindowType.LEFT
or
TextWindowType.RIGHT
windows, or the height of
TextWindowType.TOP
or TextWindowType.BOTTOM
Windows.
Automatically destroys the corresponding window if the size is set to 0,
and creates the window if the size is set to non-zero. This function can
only be used for the "border windows," it doesn't work with
TextWindowType.WIDGET
, TextWindowType.TEXT
, or
TextWindowType.PRIVATE
.
type
- The window to affectsize
- Width or height of the windowpublic int getBorderWindowSize(TextWindowType type)
type
- The window to return size from
setBorderWindowSize(TextWindowType, int).
public Window getWindow(TextWindowType type)
Window
corresponding to an area of the
text view; possible windows include the overall widget window, child
windows on the left, right, top, bottom, and the window that displays the
text buffer. Windows are null and nonexistent if their width or height is
0, and are nonexistent before the widget has been realized.
type
- The window to get
public TextWindowType getWindowType(Window win)
win
- A window
public void scrollMarkOnScreen(TextMark mark)
mark
- a mark in the buffer of the TextView.public Rectangle getVisibleRectangle()
bufferToWindowCoords(TextWindowType, int, int)
.
public void addListener(TextViewListener listener)
listener
- The object that has implemented the TextViewListener interface
that is to receive the text view events.public void removeListener(TextViewListener listener)
listener
- The object that is to no longer receive text view events.public static org.gnu.glib.Type getType()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |