fi.faidon.jis
Class IndexColorModelSerializer

java.lang.Object
  |
  +--fi.faidon.jis.IndexColorModelSerializer
All Implemented Interfaces:
java.io.Serializable

public class IndexColorModelSerializer
extends java.lang.Object
implements java.io.Serializable

Class for saving AWT IndexColorModel as serialized objects.

See Also:
Serialized Form

Constructor Summary
IndexColorModelSerializer()
          Default constructor.
IndexColorModelSerializer(java.awt.image.IndexColorModel m)
          Constructor which initializes the IndexColorModel.
 
Method Summary
 java.awt.image.IndexColorModel getModel()
          Return the IndexColorModel.
static void main(java.lang.String[] argv)
          Test main function.
 void setModel(java.awt.image.IndexColorModel m)
          Set the IndexColorModel.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexColorModelSerializer

public IndexColorModelSerializer()
Default constructor.


IndexColorModelSerializer

public IndexColorModelSerializer(java.awt.image.IndexColorModel m)
Constructor which initializes the IndexColorModel. This is useful mainly for writing the model to the disk.

Method Detail

main

public static void main(java.lang.String[] argv)
Test main function.


getModel

public java.awt.image.IndexColorModel getModel()
Return the IndexColorModel.


setModel

public void setModel(java.awt.image.IndexColorModel m)
Set the IndexColorModel.