Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
GObject
org.gnu.gtk.UIManager
public class UIManager
extends GObject
Constructor Summary | |
Method Summary | |
void |
|
void |
|
int |
|
int |
|
int |
|
void | |
AccelGroup | |
Action |
|
List | |
boolean | |
Class |
|
EventType |
|
Widget[] |
|
String |
|
Widget |
|
void |
|
int | |
void |
|
void |
|
void |
|
void |
|
public void addListener(UIManagerListener listener)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Register an object to handle spin events.
- See Also:
SpinListener
public void addUI(int mergeId, String path, String name, String action, UIManagerItemType type, boolean top)
public int addUIFromFile(String filename)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Parses a file containing a UI definition and merges it with the current contents of self.
- Returns:
- The merge id for the merged UI. The merge id can be used to unmerge the UI with
removeUI(int)
.
public int addUIFromReader(Reader reader) throws java.io.IOException
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Parse the contents of a Reader that contains a UI definition and merges it with the current contents of self. The reader will be wrapped in an efficient Reader implementation before the contents are read. The reader will not be closed by this method. This method reads the contents of the Reader into a String and callsaddUIFromString(String)
. You may be interested in using an InputStreamReader here if your contents come from an InputStream (such as when using getClass().getResourceAsStream() or a URL).
- Returns:
- The merge id for the merged UI. The merge id can be used to unmerge the UI with
removeUI(int)
.
public int addUIFromString(String ui)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Parses a string containing a UI definition and merges it with the current contents of self. An enclosing <ui> element is added if it is missing.
- Returns:
- The merge id for the merged UI. The merge id can be used to unmerge the UI with
removeUI(int)
.
public void ensureUpdate()
public List getActionGroups()
public boolean getAddTearoffs()
public Class getEventListenerClass(String signal)
public EventType getEventType(String signal)
public String getUI()
public int newMergeId()
public void removeListener(UIManagerListener listener)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Removes a listener
- See Also:
addListener(UIManagerListener)
public void removeUI(int mergeId)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Unmerges the part of this UIManager's content identified by mergeId.
public void setAddTearoffs(boolean addTearoffs)