|
java-gnome version 4.0.19 | ||||
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.Object
org.gnome.gtk.Widget
org.gnome.gtk.Misc
org.gnome.gtk.Arrow
public class Arrow
Arrow is a widget to draw simple arrows pointing to up, down, left, or
right. Its style can be either bevelled inwards, bevelled outwards, sunken
or raised.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.gnome.gtk.Widget |
---|
Widget.ButtonPressEvent, Widget.ButtonReleaseEvent, Widget.EnterNotifyEvent, Widget.ExposeEvent, Widget.FocusInEvent, Widget.FocusOutEvent, Widget.Hide, Widget.KeyPressEvent, Widget.KeyReleaseEvent, Widget.LeaveNotifyEvent, Widget.MapEvent, Widget.MotionNotifyEvent, Widget.PopupMenu, Widget.ScrollEvent, Widget.UnmapEvent, Widget.VisibilityNotifyEvent |
Nested classes/interfaces inherited from class org.gnome.gtk.Object |
---|
Object.Destroy |
Constructor Summary | |
---|---|
Arrow(ArrowType direction,
ShadowType type)
Create a new Arrow widget with given direction and shadow type. |
Method Summary | |
---|---|
float |
getArrowScaling()
Returns amount of spaced used by arrow in the widget. |
ArrowType |
getArrowType()
Returns the direction of Arrow. |
ShadowType |
getShadowType()
Returns the shadow type of Arrow. |
void |
setArrowType(ArrowType direction)
Sets the direction to one of UP ,
DOWN , LEFT ,
RIGHT . |
void |
setShadowType(ShadowType type)
Sets the shadow type to one of IN ,
OUT , ETCHED_IN or
ETCHED_OUT . |
Methods inherited from class org.gnome.gtk.Misc |
---|
getAlignmentX, getAlignmentY, getPaddingX, getPaddingY, setAlignment, setPadding |
Methods inherited from class org.gnome.gtk.Widget |
---|
activate, addEvents, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, getAllocation, getCanDefault, getCanFocus, getHasFocus, getName, getParent, getRequisition, getSensitive, getToplevel, getWindow, grabAdd, grabDefault, grabFocus, grabRemove, hide, isSensitive, modifyBackground, modifyBase, modifyFont, modifyText, queueDraw, queueDrawArea, realize, setCanDefault, setCanFocus, setColormap, setEvents, setName, setSensitive, setSizeRequest, setTooltipMarkup, setTooltipText, show, showAll |
Methods inherited from class org.gnome.gtk.Object |
---|
connect, destroy |
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 Arrow(ArrowType direction, ShadowType type)
Method Detail |
---|
public float getArrowScaling()
0.0
to 1.0
. Its default is 0.7
,
though really, it's actual value will entirely be up to the theme
engine.
public ArrowType getArrowType()
setArrowType()
for possible values.
public ShadowType getShadowType()
setShadowType()
for possible values.
public void setArrowType(ArrowType direction)
UP
,
DOWN
, LEFT
,
RIGHT
. There's also a special mode,
NONE
which is an Arrow Widget but with no
graphic presently drawn on it.
The default is RIGHT
.
public void setShadowType(ShadowType type)
IN
,
OUT
, ETCHED_IN
or
ETCHED_OUT
.
The default is OUT
.
|
![]() java-gnome |
||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |