Main Page | Namespace List | Class Hierarchy | Class List | Class Members | Related Pages

gov::lbl::genome::gui::Parameter Class Reference

List of all members.

Public Member Functions

 Parameter (Hashtable parameters)
int getInt (String varName, int def)
int getInt (String varName)
int[] getIntArray (String varName)
double getDouble (String varName, double def)
double getDouble (String varName)
double[] getDoubleArray (String varName)
Object getObject (String varName, Object def)
Object getObject (String varName)
Object[] getObjectArray (String varName)
String getString (String varName, String def)
String getString (String varName)
String[] getStringArray (String varName)
Color getColor (String varName, Color def)
Color getColor (String varName)
Color[] getColorArray (String varName)
Font getFont (String varName, Font def)
Font getFont (String varName)
Font[] getFontArray (String varName)

Public Attributes

boolean available = false

Package Attributes

Hashtable parameters = null
Object obj = null
boolean error = false

Detailed Description

Title: Parameter

Description: return parameters for the object specified

Copyright: Copyright (c) 2004

Company: LBNL

Author:
Mikhail Teplitskiy
Version:
1.0


Constructor & Destructor Documentation

gov::lbl::genome::gui::Parameter::Parameter Hashtable  parameters  )  [inline]
 

Parameter

Parameters:
parameters Hashtable


Member Function Documentation

Color gov::lbl::genome::gui::Parameter::getColor String  varName  )  [inline]
 

return a color object by name

Parameters:
varName String
Returns:
Color

Color gov::lbl::genome::gui::Parameter::getColor String  varName,
Color  def
[inline]
 

try to return a Color object by name if fail return default Color

Parameters:
varName String
def Color
Returns:
Color

Color [] gov::lbl::genome::gui::Parameter::getColorArray String  varName  )  [inline]
 

return an array of Color objects by name

Parameters:
varName String
Returns:
Color[]

double gov::lbl::genome::gui::Parameter::getDouble String  varName  )  [inline]
 

return double value by name

Parameters:
varName String
Returns:
double

double gov::lbl::genome::gui::Parameter::getDouble String  varName,
double  def
[inline]
 

try to return a double value by name, or return the default value

Parameters:
varName String
def double
Returns:
double

double [] gov::lbl::genome::gui::Parameter::getDoubleArray String  varName  )  [inline]
 

get Array of double by name

Parameters:
varName String
Returns:
double[]

Font gov::lbl::genome::gui::Parameter::getFont String  varName  )  [inline]
 

return a Font object by name Important: Font parser is not implemented

Parameters:
varName String
Returns:
Font

Font gov::lbl::genome::gui::Parameter::getFont String  varName,
Font  def
[inline]
 

try return a Font object by name if fail will return default Font Important: Font parser is not implemented

Parameters:
varName String
def Font
Returns:
Font

Font [] gov::lbl::genome::gui::Parameter::getFontArray String  varName  )  [inline]
 

return array with Font object by name Important: Font parser is not implemented

Parameters:
varName String
Returns:
Font[]

int gov::lbl::genome::gui::Parameter::getInt String  varName  )  [inline]
 

return int value by name

Parameters:
varName String
Returns:
int

int gov::lbl::genome::gui::Parameter::getInt String  varName,
int  def
[inline]
 

try to return int value by name, or return the default value

Parameters:
varName String
def int
Returns:
int

int [] gov::lbl::genome::gui::Parameter::getIntArray String  varName  )  [inline]
 

return array of int by name

Parameters:
varName String
Returns:
int[]

Object gov::lbl::genome::gui::Parameter::getObject String  varName  )  [inline]
 

return an Object by name

Parameters:
varName String
Returns:
Object

Object gov::lbl::genome::gui::Parameter::getObject String  varName,
Object  def
[inline]
 

try to return an Object by name if fail, return the default Object

Parameters:
varName String
def Object
Returns:
Object

Object [] gov::lbl::genome::gui::Parameter::getObjectArray String  varName  )  [inline]
 

return an array of Objects by name

Parameters:
varName String
Returns:
Object[]

String gov::lbl::genome::gui::Parameter::getString String  varName  )  [inline]
 

return a String by name

Parameters:
varName String
Returns:
String

String gov::lbl::genome::gui::Parameter::getString String  varName,
String  def
[inline]
 

try to return a String by name if fail return the default one

Parameters:
varName String
def String
Returns:
String

String [] gov::lbl::genome::gui::Parameter::getStringArray String  varName  )  [inline]
 

return an array of Strings by name

Parameters:
varName String
Returns:
String[]


The documentation for this class was generated from the following file:
Generated on Wed Jan 19 16:59:20 2005 by  doxygen 1.3.9.1