public class GradationCurveFileHandler extends Object
Constructor and Description |
---|
GradationCurveFileHandler(GradationCurve forCurve)
Constructor
|
GradationCurveFileHandler(GradationCurveControl forCurveControl)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
openGradationCurveFromFile()
Produces a
FileDialog and calls openGradationCurveFromFile(File) . |
void |
openGradationCurveFromFile(File fSelected)
Loads a gradaton curve specified by the parameter supplied
|
void |
openGradationCurveFromFile(String fullName)
Loads a gradation curve specified by the parameter supplied
|
void |
openGradationCurveFromStream(InputStream is)
Loads a gradation curve specified by the supplied input stream.
|
void |
saveGradationCurveToFile()
Produces a
FileDialog and calls saveGradationCurveToFile(String) . |
void |
saveGradationCurveToFile(File fSelected)
Saves a gradation curve specified by the parameter supplied
|
void |
saveGradationCurveToFile(String fullName)
Saves a gradation curve specified by the parameter supplied
|
public GradationCurveFileHandler(GradationCurveControl forCurveControl)
forCurveControl
- the control to load gradation curves into itpublic GradationCurveFileHandler(GradationCurve forCurve)
forCurve
- the curve to load gradation curve data into itpublic void openGradationCurveFromFile()
FileDialog
and calls openGradationCurveFromFile(File)
.public void saveGradationCurveToFile()
FileDialog
and calls saveGradationCurveToFile(String)
.public void saveGradationCurveToFile(File fSelected)
fSelected
- file to loadpublic void openGradationCurveFromFile(File fSelected)
fSelected
- file to loadpublic void openGradationCurveFromFile(String fullName)
fullName
- full file namepublic void openGradationCurveFromStream(InputStream is)
is
- The input stream holding the properties to loadpublic void saveGradationCurveToFile(String fullName)
fullName
- full file nameCopyright © 2024 levigo holding gmbh. All rights reserved.