Package ch.bailu.gtk.lib.bridge
Klasse UiBuilder
java.lang.Object
ch.bailu.gtk.lib.bridge.UiBuilder
Load user interface from XML descriptions (.ui file).
Facade for
Builder
.-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic UiBuilder
Load ui from file on file systemstatic UiBuilder
static UiBuilder
static UiBuilder
fromResource
(String path) Load ui file from resourcestatic UiBuilder
fromString
(String ui) Load ui from string
-
Methodendetails
-
getObject
-
fromString
Load ui from string- Parameter:
ui
- String containing XML description of ui- Gibt zurück:
- UiBuilder instance for accessing widgets
- Löst aus:
AllocationError
-
fromFile
- Löst aus:
AllocationError
-
fromFile
- Löst aus:
AllocationError
-
fromFile
Load ui from file on file system- Parameter:
file
- path to file on file system- Gibt zurück:
- UiBuilder instance for accessing widgets
- Löst aus:
AllocationError
-
fromResource
Load ui file from resource- Parameter:
path
- relative path to resource- Gibt zurück:
- UiBuilder instance for accessing widgets
- Löst aus:
IOException
AllocationError
-