|
|||||||||
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.GtkObject
org.gnu.gtk.Widget
org.gnu.gtk.Container
org.gnu.gtk.Bin
org.gnu.gtk.HandleBox
public class HandleBox
The HandleBox widget allows a portion of the window to be "torn-off". It is a bin widget which displays its children and a handle that the user can drag to tear off a separate window containing the child widget. A thin ghost is drawn in the original location of the handlebox. By dragging the separate window back to its original location it can be reattached.
Constructor Summary | |
---|---|
HandleBox()
Create a new HandleBox object. |
|
HandleBox(org.gnu.glib.Handle handle)
Construct a HandleBox using a handle to a native resource. |
Method Summary | |
---|---|
void |
addListener(HandleBoxListener listener)
Register an object to handle dialog events. |
java.lang.Class |
getEventListenerClass(java.lang.String signal)
|
EventType |
getEventType(java.lang.String signal)
|
static HandleBox |
getHandleBox(org.gnu.glib.Handle handle)
Internal static factory method to be used by Java-Gnome only. |
PositionType |
getHandlePosition()
Retrieves the handle position. |
ShadowType |
getShadowType()
Retrieves the shadow type used by this widget. |
PositionType |
getShapEdge()
Retrieves the snap edge of the widget. |
static Type |
getType()
Retrieve the runtime type used by the GLib library. |
void |
removeListener(HandleBoxListener listener)
Removes a listener |
void |
setHandlePosition(PositionType position)
Sets the side of the handle box where the handle is drawn. |
void |
setShadowType(ShadowType type)
Set the shadow type to be drawn around the border of the handle box. |
void |
setShapEdge(PositionType edge)
Sets the snap edge of the handle box. |
Methods inherited from class org.gnu.gtk.Bin |
---|
getChild |
Methods inherited from class org.gnu.gtk.Container |
---|
add, addListener, getBooleanChildProperty, getBorderWidth, getChildProperty, getChildren, getIntChildProperty, getResizeMode, remove, removeListener, resizeChildren, setBooleanChildProperty, setBorderWidth, setChildProperty, setIntChildProperty, setResizeMode |
Methods inherited from class org.gnu.gtk.GtkObject |
---|
destroy, sink |
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 HandleBox()
public HandleBox(org.gnu.glib.Handle handle)
Method Detail |
---|
public static HandleBox getHandleBox(org.gnu.glib.Handle handle)
public void setShadowType(ShadowType type)
type
- The ShadowType to use for the shadow.public ShadowType getShadowType()
public void setHandlePosition(PositionType position)
position
- Defines the position of the handle.public PositionType getHandlePosition()
public void setShapEdge(PositionType edge)
edge
- The side for the snap edge.public PositionType getShapEdge()
public void addListener(HandleBoxListener listener)
HandleBoxListener
public void removeListener(HandleBoxListener listener)
addListener(HandleBoxListener)
public java.lang.Class getEventListenerClass(java.lang.String signal)
getEventListenerClass
in class Container
public EventType getEventType(java.lang.String signal)
getEventType
in class Container
public static Type getType()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |