|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--sub_arctic.lib.min_interactor | +--sub_arctic.lib.base_interactor | +--sub_arctic.new_lib.style_backdrop
A simple interactor that just fills its area with the default background pattern from the current style, but otherwise does nothing.
Field Summary | |
protected loaded_image |
_pattern
The background pattern that we fill our area with. |
protected static boolean |
_registration_done
Flag so we execute register_resource_names() at most once. |
Fields inherited from class sub_arctic.lib.base_interactor |
_child_index,
_child_list,
_clip_bounds,
_constraint_flags,
_enabled_constraint,
_flags,
_h,
_h_constraint,
_parent,
_part_a_constraint,
_part_b_constraint,
_user_data,
_visible_constraint,
_w,
_w_constraint,
_x,
_x_constraint,
_y,
_y_constraint,
default_child_hint |
Constructor Summary | |
style_backdrop()
Constructor assuming default position of 0,0, and (temporary) default size. |
|
style_backdrop(int wv,
int hv)
Constructor assuming default position of 0,0. |
|
style_backdrop(int xv,
int yv,
int wv,
int hv)
Full constructor. |
Method Summary | |
protected void |
draw_self_local(drawable d)
Draw self using pattern fill. |
protected void |
init_look_resources(style from_style)
Request an initial set of resources from the given style. |
protected void |
new_look_configure()
Reconfigure for new style |
loaded_image |
pattern()
The background pattern that we fill our area with. |
static void |
register_resource_names()
Register the resource names associated with this class. |
protected void |
restyle_look_resources(style new_style)
"Restyle" current style-based resources used by this interactor to conform to the given style. |
void |
set_pattern(loaded_image pat)
Set the background pattern |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
protected loaded_image _pattern
protected static boolean _registration_done
Constructor Detail |
public style_backdrop(int xv, int yv, int wv, int hv)
int
- xv x position of the area.int
- yv y position of the area.int
- wv width of the area.int
- hv height of the area.public style_backdrop(int wv, int hv)
int
- wv width of the area.int
- hv height of the area.public style_backdrop()
Method Detail |
public loaded_image pattern()
public void set_pattern(loaded_image pat)
public static void register_resource_names()
protected void init_look_resources(style from_style)
protected void restyle_look_resources(style new_style)
style
- new_style the style to restyle resources under.protected void new_look_configure()
protected void draw_self_local(drawable d)
drawable
- d the drawing surface we place our output on.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |