Class ColorTransferFile

java.lang.Object
  extended by ColorTransferFile

public class ColorTransferFile
extends java.lang.Object

Created by IntelliJ IDEA. User: Administrator Date: 17.01.2005 Time: 12:57:52 To change this template use File | Settings | File Templates.


Constructor Summary
ColorTransferFile()
          Constructs an empty class instance.
ColorTransferFile(java.io.File f)
          Constructs a class instance and opens a file
 
Method Summary
 ColorTransferPoint[] getColorTransferPoints()
          Returns color point information.
 boolean open(java.io.File f)
          Opens a file for reading color point informaion.
 boolean save(java.io.File f)
          Saves color and opacity point information into a file.
 void setColorTransferPoints(ColorTransferPoint[] colorTransferPoints)
          Sets color point information.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColorTransferFile

public ColorTransferFile()
Constructs an empty class instance.


ColorTransferFile

public ColorTransferFile(java.io.File f)
Constructs a class instance and opens a file

Parameters:
f - File to be opened.
Method Detail

open

public boolean open(java.io.File f)
Opens a file for reading color point informaion.

Parameters:
f - File to be read from.
Returns:
true on success.

getColorTransferPoints

public ColorTransferPoint[] getColorTransferPoints()
Returns color point information.

Returns:
Color point information.

setColorTransferPoints

public void setColorTransferPoints(ColorTransferPoint[] colorTransferPoints)
Sets color point information.

Parameters:
colorTransferPoints - Color point information to be set.

save

public boolean save(java.io.File f)
Saves color and opacity point information into a file.

Parameters:
f - File to be written to.
Returns:
true on success.