org.diyefi.openlogviewer.propertypanel
Class SingleProperty

java.lang.Object
  extended by org.diyefi.openlogviewer.propertypanel.SingleProperty
All Implemented Interfaces:
Comparable<SingleProperty>

public class SingleProperty
extends Object
implements Comparable<SingleProperty>


Constructor Summary
SingleProperty()
           
SingleProperty(GenericDataElement GDE)
           
 
Method Summary
 int compareTo(SingleProperty sp)
           
 boolean equals(String otherHeader)
           
 Color getColor()
           
 String getHeader()
           
 double getMax()
           
 double getMin()
           
 int getSplit()
           
 boolean isActive()
           
 void setActive(boolean active)
           
 void setColor(Color color)
           
 void setHeader(String header)
           
 void setMax(double max)
           
 void setMin(double min)
           
 void setSplit(int split)
          TODO add final to parameter and make work with this change.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SingleProperty

public SingleProperty()

SingleProperty

public SingleProperty(GenericDataElement GDE)
Method Detail

getColor

public final Color getColor()

setColor

public final void setColor(Color color)

getHeader

public final String getHeader()

setHeader

public final void setHeader(String header)

getMax

public final double getMax()

setMax

public final void setMax(double max)

getMin

public final double getMin()

setMin

public final void setMin(double min)

getSplit

public final int getSplit()

setSplit

public final void setSplit(int split)
TODO add final to parameter and make work with this change.

Parameters:
split -

isActive

public final boolean isActive()

setActive

public final void setActive(boolean active)

toString

public final String toString()
Overrides:
toString in class Object

compareTo

public final int compareTo(SingleProperty sp)
Specified by:
compareTo in interface Comparable<SingleProperty>

equals

public final boolean equals(String otherHeader)


Copyright © 2011 DIYEFI.org. All Rights Reserved.