private void readObject(final java.io.ObjectInputStream in) throws IOException, ClassNotFoundException {
  useOnOffSwith=in.readBoolean();
  markerColors=(MarkerColors)in.readObject();
}

private void readObject ( final java . io . ObjectInputStream in ) throws IOException , ClassNotFoundException { useOnOffSwith = in . readBoolean ( ) ; markerColors = ( MarkerColors ) in . readObject ( ) ; }
deserialize the state of the object .
