gishur.core
Interface Parameters

All Known Implementing Classes:
ParameterContainer

public interface Parameters

Interface declaring methods for parameter handling via indices.

Version:
1.0
Author:
Christoph Sachse

Method Summary
 boolean getBoolean(int index)
          Returns with parameter with index i as a boolean, if possible.
 double getDouble(int index)
          Returns with parameter with index i as a double, if possible.
 float getFloat(int index)
          Returns with parameter with index i as a float, if possible.
 int getInt(int index)
          Returns with parameter with index i as an int, if possible.
 long getLong(int index)
          Returns with parameter with index i as a long, if possible.
 short getShort(int index)
          Returns with parameter with index i as a short, if possible.
 int length()
          Returns the number of available parameter objects.
 java.lang.Object parameter(int index)
          Returns the parameter with index i.
 java.awt.Point point(int index)
          Returns the parameter with index i as a java.awt.Point (if possible).
 

Method Detail

parameter

public java.lang.Object parameter(int index)
Returns the parameter with index i.

getInt

public int getInt(int index)
Returns with parameter with index i as an int, if possible.

getShort

public short getShort(int index)
Returns with parameter with index i as a short, if possible.

getLong

public long getLong(int index)
Returns with parameter with index i as a long, if possible.

getFloat

public float getFloat(int index)
Returns with parameter with index i as a float, if possible.

getDouble

public double getDouble(int index)
Returns with parameter with index i as a double, if possible.

getBoolean

public boolean getBoolean(int index)
Returns with parameter with index i as a boolean, if possible.

point

public java.awt.Point point(int index)
Returns the parameter with index i as a java.awt.Point (if possible).

length

public int length()
Returns the number of available parameter objects.