ICY Version 1.0.1.0
Public Member Functions | Protected Member Functions | Package Attributes

icy.image.colormap.IcyColorMapBand.ControlPoint Class Reference

Inheritance diagram for icy.image.colormap.IcyColorMapBand.ControlPoint:
icy.file.xml.XMLPersistent

List of all members.

Public Member Functions

 ControlPoint (int index, int value, boolean fixed)
 ControlPoint (int index, int value)
boolean isFixed ()
int getIndex ()
void setIndex (int index)
int getValue ()
void setValue (int value)
void setPosition (Point p)
Point getPosition ()
void setPosition (int index, int value)
void remove ()
int compareTo (ControlPoint o)
boolean loadFromXML (Node node)
boolean saveToXML (Node node)

Protected Member Functions

void onChanged ()
void changed ()

Package Attributes

int value

Constructor & Destructor Documentation

icy.image.colormap.IcyColorMapBand.ControlPoint.ControlPoint ( int  index,
int  value,
boolean  fixed 
)
Parameters:
index
value
icy.image.colormap.IcyColorMapBand.ControlPoint.ControlPoint ( int  index,
int  value 
)
Parameters:
index
value

Member Function Documentation

void icy.image.colormap.IcyColorMapBand.ControlPoint.changed ( ) [protected]

changed event

int icy.image.colormap.IcyColorMapBand.ControlPoint.getIndex ( )
Returns:
the index
Point icy.image.colormap.IcyColorMapBand.ControlPoint.getPosition ( )

Get control point position

Returns:
point position
int icy.image.colormap.IcyColorMapBand.ControlPoint.getValue ( )
Returns:
the value
boolean icy.image.colormap.IcyColorMapBand.ControlPoint.isFixed ( )
Returns:
the fixed flag
boolean icy.image.colormap.IcyColorMapBand.ControlPoint.loadFromXML ( Node  node)

LOAD

Implements icy.file.xml.XMLPersistent.

void icy.image.colormap.IcyColorMapBand.ControlPoint.onChanged ( ) [protected]

put here process on changed event

void icy.image.colormap.IcyColorMapBand.ControlPoint.remove ( )

remove the control point

boolean icy.image.colormap.IcyColorMapBand.ControlPoint.saveToXML ( Node  node)

SAVE

Implements icy.file.xml.XMLPersistent.

void icy.image.colormap.IcyColorMapBand.ControlPoint.setIndex ( int  index)
Parameters:
indexthe index to set
void icy.image.colormap.IcyColorMapBand.ControlPoint.setPosition ( int  index,
int  value 
)

Set control point position

Parameters:
index
value
void icy.image.colormap.IcyColorMapBand.ControlPoint.setPosition ( Point  p)

Set control point position

Parameters:
ppoint
void icy.image.colormap.IcyColorMapBand.ControlPoint.setValue ( int  value)
Parameters:
valuethe value to set

The documentation for this class was generated from the following file:
 All Classes Functions Variables