Class PALplate.interactors.SelfCallbackButton
All Packages Class Hierarchy This Package Previous Next Index
Class PALplate.interactors.SelfCallbackButton
java.lang.Object
|
+----sub_arctic.lib.min_interactor
|
+----sub_arctic.lib.base_interactor
|
+----sub_arctic.lib.multi_button
|
+----sub_arctic.lib.button
|
+----PALplate.interactors.SelfCallbackButton
- public class SelfCallbackButton
- extends button
- implements Widget, MudObject, callback_object
This class is meant to be subclassed by buttons which want to
handle their own callbacks. This generally useful for mud objects
because their parent interactor doesn't know enough about them
to handle their input events: they were dynamically loaded, it doesn't
even know what class they are. For convenience, since this would only be
used by a MudObject which is part of a GUI, this class
sets up a standard (null) defenition for pre_add_child and post_add_child.
This class is abstract 'cause the callback function
and the mudDescription function need to be defined in a subclass.
-
SelfCallbackButton()
-
-
SelfCallbackButton(loaded_image)
-
-
callback(interactor, event, int, Object)
-
-
init(String, Object)
-
This function is called immediately after the object is dynamically
loaded and created.
-
mudDescription()
-
-
post_add_child(Object)
-
-
pre_add_child()
-
SelfCallbackButton
public SelfCallbackButton(loaded_image i)
- Parameters:
- i - The icon to display on the screen (that you click on to load the image)
SelfCallbackButton
public SelfCallbackButton()
pre_add_child
public void pre_add_child()
post_add_child
public void post_add_child(Object parent)
All Packages Class Hierarchy This Package Previous Next Index