Class sub_arctic.lib.base_parent_interactor
All Packages Class Hierarchy This Package Previous Next Index
Class sub_arctic.lib.base_parent_interactor
java.lang.Object
|
+----sub_arctic.lib.min_interactor
|
+----sub_arctic.lib.base_interactor
|
+----sub_arctic.lib.base_parent_interactor
- public class base_parent_interactor
- extends base_interactor
Base class for objects that support (arbitrary) children. This is basically
just base_interactor with child functionality added. Normally all objects
supporting children are subclasses of this class. However, the actual
routines needed to establish and support children have been promoted to
base_interactor. As a result, if you have an existing non-parent class
that you would like to add parent capability to after the fact that is
also possible. This class can serve as a guide for how to do that --
basically you just need to call setup_for_children() or
setup_for_fixed_children() in the constructor.
- Author:
- Scott Hudson
- See Also:
- setup_for_children, setup_for_fixed_children
-
base_parent_interactor()
-
Constructor that assumes a position of 0,0 and a (temporary) default
size.
-
base_parent_interactor(int, int)
-
Constructor assuming a (temporary) default size
-
base_parent_interactor(int, int, int, int)
-
Full constructor
base_parent_interactor
public base_parent_interactor(int xv,
int yv,
int wv,
int hv)
- Full constructor
- Parameters:
- int - xv x position of the interactor in its parent's coordinate
system.
- int - yv y position of the interactor in its parent's coordinate
system.
- int - wv width of the interactor.
- int - hv height of the interactor.
base_parent_interactor
public base_parent_interactor(int xv,
int yv)
- Constructor assuming a (temporary) default size
- Parameters:
- int - xv x position of the interactor in its parent's coordinate
system.
- int - yv y position of the interactor in its parent's coordinate
system.
base_parent_interactor
public base_parent_interactor()
- Constructor that assumes a position of 0,0 and a (temporary) default
size.
All Packages Class Hierarchy This Package Previous Next Index