cds.util
Class Controler

java.lang.Object
  extended bycds.util.Controler

public class Controler
extends java.lang.Object

Title: General Controler class Description: Used to create a controler for the model-view-controler structure Copyright: Copyright (c) 2003 Company: Astronomical Observatory, Strasbourg, France

Version:
1.0
Author:
Hatt Mathieu

Field Summary
private  boolean booleanParam
           
 java.lang.String controlerName
           
private static java.util.HashMap controlers
           
private  int intParam
           
private  java.util.ArrayList listParam
           
private  java.util.ArrayList observers
           
private  java.lang.String stringParam
           
 
Constructor Summary
Controler()
           
Controler(java.lang.String name)
           
 
Method Summary
 boolean getBooleanParam()
           
static Controler getControler(java.lang.String name)
           
 int getIntParam()
           
 java.lang.String getStringParam()
           
 void registerInterest(Observer observer)
           
 void setParam(java.util.ArrayList value)
           
 void setParam(boolean value)
           
 void setParam(int value)
           
 void setParam(java.lang.String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

controlerName

public java.lang.String controlerName

controlers

private static java.util.HashMap controlers

booleanParam

private boolean booleanParam

intParam

private int intParam

stringParam

private java.lang.String stringParam

listParam

private java.util.ArrayList listParam

observers

private java.util.ArrayList observers
Constructor Detail

Controler

public Controler()

Controler

public Controler(java.lang.String name)
Method Detail

getControler

public static Controler getControler(java.lang.String name)

registerInterest

public void registerInterest(Observer observer)

setParam

public void setParam(boolean value)

setParam

public void setParam(int value)

setParam

public void setParam(java.lang.String value)

setParam

public void setParam(java.util.ArrayList value)

getBooleanParam

public boolean getBooleanParam()

getIntParam

public int getIntParam()

getStringParam

public java.lang.String getStringParam()