sub_arctic.style
Class hv_fill_blank
java.lang.Object
|
+--sub_arctic.style.composition_part_base
|
+--sub_arctic.style.blank_base
|
+--sub_arctic.style.hv_fill_blank
- Direct Known Subclasses:
- hv_fill_image_blank, hv_fill_prog_blank, shadow_rect_blank, transparent_blank
- public abstract class hv_fill_blank
- extends blank_base
This abstract class represents an based interactor blank which is capable of
being expanded both horizontally and vertically to meet a given size
request. The constructor for this class supports specification of overal
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.
Constructor Summary |
hv_fill_blank(int size_kind,
int wid,
int hi)
(Partially) construct a blank based on an exterior size (if
size_kind == EXTERIOR_SIZED) or an interior size (if
size_kind == INTERIOR_SIZED). |
hv_fill_blank(int w_kind,
int wid,
int h_kind,
int hi)
(Partially) construct a blank based on an exterior size (if
w/h_kind == EXTERIOR_SIZED) or an interior size (if
w/h_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 java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
hv_fill_blank
public hv_fill_blank(int w_kind,
int wid,
int h_kind,
int hi)
- (Partially) construct a blank based on an exterior size (if
w/h_kind == EXTERIOR_SIZED) or an interior size (if
w/h_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 width being requested.int
- h_kind the type of sizing being requested (this must be
either EXTERIOR_SIZED, or INTERIOR_SIZED).int
- hi the interior or exterior height being requested.
hv_fill_blank
public hv_fill_blank(int size_kind,
int wid,
int hi)
- (Partially) construct a blank based on an exterior size (if
size_kind == EXTERIOR_SIZED) or an interior size (if
size_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
- size_kind the type of sizing being requested (this must be
either EXTERIOR_SIZED, or INTERIOR_SIZED).int
- wid the interior or exterior width being requested.int
- hi the interior or exterior height being requested.