viper.descriptors.attributes
Class Attribute_obox.Resizer

java.lang.Object
  extended byviper.descriptors.attributes.Attribute_obox.Resizer
All Implemented Interfaces:
Filterable.Rule
Enclosing class:
Attribute_obox

protected static class Attribute_obox.Resizer
extends java.lang.Object
implements Filterable.Rule

Adds to the boxes size.


Constructor Summary
Attribute_obox.Resizer(int x, int y, int width, int height)
          takes the deltas in each of the four values.
 
Method Summary
 boolean isShortCircuit()
          Tells the filter whether to apply short circuiting.
 boolean passes(Measurable o)
          The function method of this object, passes determines if the filterable object passes.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Attribute_obox.Resizer

public Attribute_obox.Resizer(int x,
                              int y,
                              int width,
                              int height)
takes the deltas in each of the four values.

Parameters:
x - the change in x
y - the change in y
width - the change to the width
height - the change to the height
Method Detail

passes

public boolean passes(Measurable o)
Description copied from interface: Filterable.Rule
The function method of this object, passes determines if the filterable object passes.

Specified by:
passes in interface Filterable.Rule
Parameters:
o - the measurable object to test
Returns:
true if the Filterable object passes the rule.

toString

public java.lang.String toString()

isShortCircuit

public boolean isShortCircuit()
Tells the filter whether to apply short circuiting.

Specified by:
isShortCircuit in interface Filterable.Rule
Returns: