org.rosuda.ibase.toolkit
Class AxisCatSequence

java.lang.Object
  extended by org.rosuda.ibase.toolkit.AxisCatSequence
All Implemented Interfaces:
Dependent

public class AxisCatSequence
extends java.lang.Object
implements Dependent


Method Summary
 int getCatByGeometryPos(int pos)
           
 int getCenterOfCat(int c)
           
 int getCenterOfCatAt(int p)
           
 int getLowerEdgeOfCat(int c)
           
 int getLowerEdgeOfCatAt(int p)
           
 int getUpperEdgeOfCat(int c)
           
 int getUpperEdgeOfCatAt(int p)
           
 void Notifying(NotifyMsg msg, java.lang.Object src, java.util.Vector path)
          This method will be called when an even occured.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

Notifying

public void Notifying(NotifyMsg msg,
                      java.lang.Object src,
                      java.util.Vector path)
Description copied from interface: Dependent
This method will be called when an even occured. Currently SMarker and Axis use this method of notification. There's no generic class for implemention the notification-list yet.

Specified by:
Notifying in interface Dependent
src - Object that sent the notification. The actual content is implementation-dependent.
path - This parameter is null for non-cascaded notify - in that case further calls to NotifyAll are not allowed. Otherwise it contains a Vector with all objects notified so far during cascaded notify. To aviod cyclic notifications every instance must either reject cascaded notifications (i.e. no calls to NotifyAll at all) or check for occurence of itself in the chain before calling NotifyAll. The only valid recursive calls in Notifying are NotifyAll(path) and NotifyAll(..,path), because only these two pass the "path" parameter to avoid cyclic loops.

getLowerEdgeOfCatAt

public int getLowerEdgeOfCatAt(int p)

getUpperEdgeOfCatAt

public int getUpperEdgeOfCatAt(int p)

getCenterOfCatAt

public int getCenterOfCatAt(int p)

getLowerEdgeOfCat

public int getLowerEdgeOfCat(int c)

getUpperEdgeOfCat

public int getUpperEdgeOfCat(int c)

getCenterOfCat

public int getCenterOfCat(int c)

getCatByGeometryPos

public int getCatByGeometryPos(int pos)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object