Package ch.bailu.gtk.lib.handler.action
Class ActionHandler
java.lang.Object
ch.bailu.gtk.lib.handler.action.ActionHandler
Manages application level ActionMap and offers Facade for Action Interface
Callbacks for integer and boolean types actions
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
static interface
static interface
static interface
-
Method Summary
Modifier and TypeMethodDescriptionvoid
changeBoolean
(boolean value) void
changeInteger
(int value) void
changeState
(Variant variant) void
static void
dump
(PrintStream out) static ActionHandler
get
(Application app, String name) static ActionHandler
get
(Application app, String name, boolean initial) static ActionHandler
get
(Application app, String name, int initial) boolean
int
getState()
onActivate
(SimpleAction.OnActivate signal) onActivate
(ActionHandler.OnActivate signal) onChange
(ActionHandler.OnChange signal) onToggle
(ActionHandler.OnToggled signal) void
remove
(Application app) void
remove
(Application app, String name) static void
setAccels
(Application app, String action, String... accels) void
setEnabled
(boolean enabled) void
toggle()
Toggle state of boolean state (checkbox) action
-
Method Details
-
setAccels
-
disconnectSignals
public void disconnectSignals() -
onActivate
-
onActivate
-
onActivate
-
onToggle
-
onChange
-
toggle
public void toggle()Toggle state of boolean state (checkbox) action -
changeBoolean
public void changeBoolean(boolean value) -
getBoolean
public boolean getBoolean() -
getInteger
public int getInteger() -
changeInteger
public void changeInteger(int value) -
changeState
-
getState
-
get
-
get
-
get
-
remove
-
remove
-
setEnabled
public void setEnabled(boolean enabled) -
dump
-