|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.kde.koala.KXMLGUIBuilder
public class KXMLGUIBuilder
Abstract interface for a "GUI builder", used by the GUIFactory This interface is implemented by KMainWindow for the case where the toplevel widget is a KMainWindow. Other implementations may appear in the future (dialogs for instance)
| Constructor Summary | |
|---|---|
protected |
KXMLGUIBuilder(java.lang.Class dummy)
|
|
KXMLGUIBuilder(org.kde.qt.QWidget widget)
|
| Method Summary | |
|---|---|
KXMLGUIClientInterface |
builderClient()
|
KInstanceInterface |
builderInstance()
|
java.util.ArrayList |
containerTags()
|
org.kde.qt.QWidget |
createContainer(org.kde.qt.QWidget parent,
int index,
org.kde.qt.QDomElement element,
int[] id)
Creates a container (menubar/menu/toolbar/statusbar/separator/...) from an element in the XML file |
int |
createCustomElement(org.kde.qt.QWidget parent,
int index,
org.kde.qt.QDomElement element)
|
java.util.ArrayList |
customTags()
|
void |
dispose()
Delete the wrapped C++ instance ahead of finalize() |
protected void |
finalize()
Deletes the wrapped C++ instance |
void |
finalizeGUI(KXMLGUIClientInterface client)
|
boolean |
isDisposed()
Has the wrapped C++ instance been deleted? |
void |
removeContainer(org.kde.qt.QWidget container,
org.kde.qt.QWidget parent,
org.kde.qt.QDomElement element,
int id)
Removes the given (and previously via createContainer ) created container. |
void |
removeCustomElement(org.kde.qt.QWidget parent,
int id)
|
void |
setBuilderClient(KXMLGUIClientInterface client)
|
void |
setBuilderInstance(KInstanceInterface instance)
|
org.kde.qt.QWidget |
widget()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected KXMLGUIBuilder(java.lang.Class dummy)
public KXMLGUIBuilder(org.kde.qt.QWidget widget)
| Method Detail |
|---|
public KXMLGUIClientInterface builderClient()
builderClient in interface KXMLGUIBuilderInterfacepublic void setBuilderClient(KXMLGUIClientInterface client)
setBuilderClient in interface KXMLGUIBuilderInterfacepublic KInstanceInterface builderInstance()
builderInstance in interface KXMLGUIBuilderInterfacepublic void setBuilderInstance(KInstanceInterface instance)
setBuilderInstance in interface KXMLGUIBuilderInterfacepublic org.kde.qt.QWidget widget()
widget in interface KXMLGUIBuilderInterfacepublic java.util.ArrayList containerTags()
containerTags in interface KXMLGUIBuilderInterface
public org.kde.qt.QWidget createContainer(org.kde.qt.QWidget parent,
int index,
org.kde.qt.QDomElement element,
int[] id)
createContainer in interface KXMLGUIBuilderInterfaceparent - The parent for the containerindex - The index where the container should be inserted
into the parent container/widgetelement - The element from the DOM tree describing the
container (use it to access container specified
attributes or child elements)id - The id to be used for this container
public void removeContainer(org.kde.qt.QWidget container,
org.kde.qt.QWidget parent,
org.kde.qt.QDomElement element,
int id)
removeContainer in interface KXMLGUIBuilderInterfacepublic java.util.ArrayList customTags()
customTags in interface KXMLGUIBuilderInterface
public int createCustomElement(org.kde.qt.QWidget parent,
int index,
org.kde.qt.QDomElement element)
createCustomElement in interface KXMLGUIBuilderInterface
public void removeCustomElement(org.kde.qt.QWidget parent,
int id)
removeCustomElement in interface KXMLGUIBuilderInterfacepublic void finalizeGUI(KXMLGUIClientInterface client)
finalizeGUI in interface KXMLGUIBuilderInterface
protected void finalize()
throws java.lang.InternalError
finalize in class java.lang.Objectjava.lang.InternalErrorpublic void dispose()
public boolean isDisposed()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||