|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.gnu.glib.GObject | +--org.gnu.gtk.TextTagTable
See TextView
description for an overview of the related objects.
Constructor Summary | |
TextTagTable()
Constructs a new table, containing no tags |
Method Summary | |
void |
add(TextTag tag)
Add a tag to the table. |
int |
getSize()
Returns the size of the table (number of tags) |
static Type |
getType()
Retrieve the runtime type used by the GLib library. |
TextTag |
lookup(java.lang.String name)
Look up a named tag. |
void |
remove(TextTag tag)
Remove a tag from the table. |
Methods inherited from class org.gnu.glib.GObject |
addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, equals, getData, getHandle, removeEventHandler, setData |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TextTagTable()
Method Detail |
public void add(TextTag tag)
tag must not be in a tag table already, and may not have the same name as an already-added tag.
public void remove(TextTag tag)
public TextTag lookup(java.lang.String name)
name
- name of a tag
null
if no tag exists by that name.public int getSize()
public static Type getType()
|
Please send any bug reports, comments, or suggestions for the API or documentation to java-gnome-developer@lists.sf.net | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |