Module graph

Class ScaleClass

All Implemented Interfaces:
Manageable, PersistenceCapable, Shareable, UserFields, XObject, Map, Serializable

public class ScaleClass extends Node
This class represents a scale in a structure-of-scales. It contains a visibility flag (representing visibility of a scale) and a sub class to provide the functionality of observation. Here, observation refers to the observer design pattern. This class is part of the extension of XL for multiscale modelling.
Since:
18-02-2013
Author:
yong
See Also:
  • Field Details

  • Constructor Details

    • ScaleClass

      public ScaleClass()
    • ScaleClass

      public ScaleClass(Object rgg)
  • Method Details

    • isVisible

      public boolean isVisible()
      Accessor method for visibility flag of this scale
      Returns:
      visible flag
    • setVisible

      public void setVisible(boolean visible)
      Setter method for setting the visibility flag of this scale
      Parameters:
      visible -
    • getScaleObserver

      public de.grogra.graph.impl.ScaleClass.ScaleObserver getScaleObserver()
      Getter method for getting scaleObserver
      Returns:
      scaleObserver
    • addObserver

      public void addObserver(ScaleClass s)
    • addObserver

      public void addObserver(Observer o)
    • observe

      public void observe(ScaleClass s, int arg, String methodName)
    • observe

      public void observe(ScaleClass s, Object arg, String methodName)
    • notify

      public void notify(Object arg)
    • notify

      public void notify(int arg)