sub_arctic.lib
Class isolation_sem_draw

java.lang.Object
  |
  +--sub_arctic.lib.nametag_sem_draw
        |
        +--sub_arctic.lib.bounds_sem_draw
              |
              +--sub_arctic.lib.isolation_sem_draw

public class isolation_sem_draw
extends bounds_sem_draw

An interface_pred predicate object that performs a semantic redraw action for a semantic lens. This class can draw six pieces of information about the interactor it receives. It can draw a bounding box, a small name tag containing the interactor's class namme, as well as its x, y, width and height values. This predicate expects a sem_draw_context object as its parameters argument. This predicate is executed for its side effect only and always returns false.

See Also:
base_interactor.traverse_and_collect(int, int, sub_arctic.lib.interactor_pred, sub_arctic.lib.interactor_pred, sub_arctic.lib.traversal_xform, java.lang.Object, sub_arctic.input.pick_collector)

Fields inherited from class sub_arctic.lib.bounds_sem_draw
_show_bounds, _show_class, _show_h, _show_w, _show_x, _show_y
 
Fields inherited from class sub_arctic.lib.nametag_sem_draw
_font, _tag_color, id, metrics
 
Method Summary
 boolean test(interactor obj, java.lang.Object parameters)
          Perform the predicate test.
 
Methods inherited from class sub_arctic.lib.bounds_sem_draw
set_show_bounds, set_show_class, set_show_h, set_show_w, set_show_x, set_show_y, show_bounds, show_class, show_h, show_w, show_x, show_y
 
Methods inherited from class sub_arctic.lib.nametag_sem_draw
font, set_font, set_tag_color, tag_color
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

test

public boolean test(interactor obj,
                    java.lang.Object parameters)
Perform the predicate test. In this case we are doing this for the side effect (drawing attributes for the object) and always return false.
Parameters:
obj - the interactor the predicate is drawing.
parameters - a sem_draw_context object containing the a drawable object and other bookkeeping needed for drawing.
Returns:
boolean false in all cases.
Overrides:
test in class bounds_sem_draw