sos.reports
Class View.ResizeRequest

java.lang.Object
  |
  +--sos.reports.View.ResizeRequest
Enclosing class:
View

public static class View.ResizeRequest
extends java.lang.Object

A way to indicate that a view's minimum and preferred lengths have possibly changed.

Since:
1.0

Constructor Summary
View.ResizeRequest()
           
 
Method Summary
 boolean getMinimumLengthChanged(int axis)
          Returns true if the minimum length along the specified axis may have change.
 boolean getPreferredLengthChanged(int axis)
          Returns true if the preferred length along the specified axis may have change.
 void setMinimumLengthChanged(int axis)
          Is called to indicate that the minimum length along the specified axis may have changed.
 void setPreferredLengthChanged(int axis)
          Is called to indicate that the preferred length along the specified axis may have changed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

View.ResizeRequest

public View.ResizeRequest()
Method Detail

setPreferredLengthChanged

public void setPreferredLengthChanged(int axis)
Is called to indicate that the preferred length along the specified axis may have changed.

Parameters:
axis - the axis (either X_AXIS or Y_AXIS) along which the view's preferred length has changed
Throws:
java.lang.IllegalArgumentException - if axis is not X_AXIS or Y_AXIS

setMinimumLengthChanged

public void setMinimumLengthChanged(int axis)
Is called to indicate that the minimum length along the specified axis may have changed.

Parameters:
axis - the axis (either X_AXIS or Y_AXIS) along which the view's minimum length has changed
Throws:
java.lang.IllegalArgumentException - if axis is not X_AXIS or Y_AXIS

getPreferredLengthChanged

public boolean getPreferredLengthChanged(int axis)
Returns true if the preferred length along the specified axis may have change.

Parameters:
axis - the axis (either X_AXIS or Y_AXIS) along which to check if the view's preferred length has changed
Throws:
java.lang.IllegalArgumentException - if axis is not X_AXIS or Y_AXIS

getMinimumLengthChanged

public boolean getMinimumLengthChanged(int axis)
Returns true if the minimum length along the specified axis may have change.

Parameters:
axis - the axis (either X_AXIS or Y_AXIS) along which to check if the view's minimum length has changed
Throws:
java.lang.IllegalArgumentException - if axis is not X_AXIS or Y_AXIS


Copyright 2003, 2004 Side of Software (SOS). All rights reserved.