sub_arctic.style
Class h_fill_blank

java.lang.Object
  |
  +--sub_arctic.style.composition_part_base
        |
        +--sub_arctic.style.blank_base
              |
              +--sub_arctic.style.h_fill_blank
Direct Known Subclasses:
h_fill_image_blank

public abstract class h_fill_blank
extends blank_base

This abstract class represents an based interactor blank which is capable of being expanded horizontally to meet a given size request. The constructor for this class supports specification of overall size based on a exterior size, or based on a requested interior size (the size of the resulting interior drawing area). Note: subclasses may insist on a minimum size for their overall result.


Fields inherited from class sub_arctic.style.blank_base
_draw_area_h, _draw_area_w, _draw_area_x_off, _draw_area_y_off, _h, _w
 
Fields inherited from class sub_arctic.style.composition_part_base
_feature_points, _x, _y
 
Constructor Summary
h_fill_blank(int w_kind, int wid)
          (Partially) construct a blank based on an exterior size (if w_kind == EXTERIOR_SIZED) or an interior size (if w_kind == INTERIOR_SIZED).
 
Methods inherited from class sub_arctic.style.blank_base
build, build, can_set_h, can_set_w, draw_area_h, draw_area_w, draw_area_x_off, draw_area_y_off, draw_self, h, set_draw_area_h, set_draw_area_w, set_h, set_w, w
 
Methods inherited from class sub_arctic.style.composition_part_base
feature_point, num_feature_points, set_feature_points, set_x, set_y, toString, x, y
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

h_fill_blank

public h_fill_blank(int w_kind,
                    int wid)
(Partially) construct a blank based on an exterior size (if w_kind == EXTERIOR_SIZED) or an interior size (if w_kind == INTERIOR_SIZED). Note: Here in the base class we default to the interior and exterior sizes always being the same. This is actually not very useful. Most subclasses will want to override this and reset the drawing area size and position. We put this here mostly as a pattern for what subclasses are expected to provide.
Parameters:
int - w_kind the type of sizing being requested (this must be either EXTERIOR_SIZED, or INTERIOR_SIZED).
int - wid the interior or exterior height being requested.