|
|||||||||
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.TextTagTable
public class 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.Struct |
---|
equals, getHandle, getNullHandle, hashCode |
Methods inherited from class java.lang.Object |
---|
getClass, 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()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |