gov.lbl.genome.common
Class CurveInfo

java.lang.Object
  extended by gov.lbl.genome.common.CurveInfo
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
GumbyCurveInfo, VistaCurveInfo

public class CurveInfo
extends java.lang.Object
implements java.lang.Cloneable

Title: CurveInfo

Description: Common information about a curve

Copyright: Copyright (c) 2002 Ernst Orlando Lawrence Berkeley National Laboratory

Company: LBNL


Field Summary
protected  java.lang.String type
           
 
Constructor Summary
CurveInfo(java.lang.String id)
          CurveInfo
CurveInfo(java.lang.String id, boolean isDeleted)
          CurveInfo
CurveInfo(java.lang.String id, boolean deleted, boolean temp)
          CurveInfo
CurveInfo(java.lang.String name, java.lang.String id)
          CurveInfo
CurveInfo(java.lang.String name, java.lang.String base, java.lang.String id)
          CurveInfo
CurveInfo(java.lang.String name, java.lang.String label, java.lang.String id, boolean isDefault)
          CurveInfo
CurveInfo(java.lang.String name, java.lang.String label, java.lang.String id, boolean isDefault, boolean isVisible, boolean isTemp, boolean isCheckable)
          CurveInfo
 
Method Summary
 java.lang.Object cloneCurve()
          clone Curve
 java.lang.String getBase()
          get Base
 java.lang.String getId()
          get Id
 java.lang.String getLabel()
          return Label
 java.lang.String getLongName()
          return Long Name
 java.lang.String getName()
          return Name
 java.lang.String getType()
          get Type
 boolean isCheckable()
          return true if curve is Checkable
 boolean isDefault()
          return true if curve is Default
 boolean isDeleted()
          return true if curve is Deleted
 boolean isVisible()
          return true if curve is Visible
 void setAsDefault(boolean isDefault)
          set curve as Default
 void setCheckable(boolean check)
          set curve Checkable mode
 void setDeleted(boolean deleted)
          mark curve as Deleted
 void setVisible(boolean isVisible)
          set curve Visible
 java.lang.String toString()
          return summary string
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

type

protected java.lang.String type
Constructor Detail

CurveInfo

public CurveInfo(java.lang.String id)
CurveInfo

Parameters:
id - String

CurveInfo

public CurveInfo(java.lang.String id,
                 boolean isDeleted)
CurveInfo

Parameters:
id - String
isDeleted - boolean

CurveInfo

public CurveInfo(java.lang.String id,
                 boolean deleted,
                 boolean temp)
CurveInfo

Parameters:
id - String
deleted - boolean
temp - boolean

CurveInfo

public CurveInfo(java.lang.String name,
                 java.lang.String id)
CurveInfo

Parameters:
name - String
id - String

CurveInfo

public CurveInfo(java.lang.String name,
                 java.lang.String base,
                 java.lang.String id)
CurveInfo

Parameters:
name - String
base - String
id - String

CurveInfo

public CurveInfo(java.lang.String name,
                 java.lang.String label,
                 java.lang.String id,
                 boolean isDefault)
CurveInfo

Parameters:
name - String
label - String
id - String
isDefault - boolean

CurveInfo

public CurveInfo(java.lang.String name,
                 java.lang.String label,
                 java.lang.String id,
                 boolean isDefault,
                 boolean isVisible,
                 boolean isTemp,
                 boolean isCheckable)
CurveInfo

Parameters:
name - String
label - String
id - String
isDefault - boolean
isVisible - boolean
isTemp - boolean
isCheckable - boolean
Method Detail

setAsDefault

public void setAsDefault(boolean isDefault)
set curve as Default

Parameters:
isDefault - boolean

isDefault

public boolean isDefault()
return true if curve is Default

Returns:
boolean

getLabel

public java.lang.String getLabel()
return Label

Returns:
String

getName

public java.lang.String getName()
return Name

Returns:
String

getLongName

public java.lang.String getLongName()
return Long Name

Returns:
String

getBase

public java.lang.String getBase()
get Base

Returns:
String

getId

public java.lang.String getId()
get Id

Returns:
String

getType

public java.lang.String getType()
get Type

Returns:
String

isVisible

public boolean isVisible()
return true if curve is Visible

Returns:
boolean

setVisible

public void setVisible(boolean isVisible)
set curve Visible

Parameters:
isVisible - boolean

isDeleted

public boolean isDeleted()
return true if curve is Deleted

Returns:
boolean

isCheckable

public boolean isCheckable()
return true if curve is Checkable

Returns:
boolean

setCheckable

public void setCheckable(boolean check)
set curve Checkable mode

Parameters:
check - boolean

setDeleted

public void setDeleted(boolean deleted)
mark curve as Deleted

Parameters:
deleted - boolean

toString

public java.lang.String toString()
return summary string

Overrides:
toString in class java.lang.Object
Returns:
String

cloneCurve

public java.lang.Object cloneCurve()
clone Curve

Returns:
Object