|
java-gnome version 4.1.1 | ||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Objectorg.freedesktop.bindings.Pointer
org.freedesktop.bindings.Proxy
org.gnome.glib.Object
org.gnome.gtk.Builder
public class Builder
A tool to load Glade User Interface description files and instantiate the objects therein as a GTK Widgets and Objects.
Note that this is the replacement for the GNOME 2 "libglade" library, but
you still use the Glade
UI designer to create
GtkBuilder .ui
files.
Constructor Summary | |
---|---|
Builder()
Creates a new Builder tree. |
Method Summary | |
---|---|
void |
addFromFile(String filename)
Merge the infromation from the given .ui file into the
current Builder tree. |
void |
addFromString(String buffer)
Merge the infromation from the given .ui file into the
current Builder tree. |
Object |
getObject(String name)
Get the Object corresponding to the given name. |
Methods inherited from class org.freedesktop.bindings.Pointer |
---|
toString |
Methods inherited from class Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Builder()
Method Detail |
---|
public void addFromFile(String filename) throws FileNotFoundException, ParseException
.ui
file into the
current Builder tree.
ParseException
- The underlying GtkBuilder library was unable to process the
User Interface description in the given file.
FileNotFoundException
public void addFromString(String buffer) throws ParseException
.ui
file into the
current Builder tree.
ParseException
- The underlying GtkBuilder library was unable to process the
User Interface description in the given string.public Object getObject(String name)
|
![]() java-gnome |
||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |