JHotDraw 6.0b1

org.jhotdraw.contrib.html
Class AbstractContentProducer

java.lang.Object
  extended by org.jhotdraw.contrib.html.AbstractContentProducer
All Implemented Interfaces:
java.io.Serializable, ContentProducer, Storable
Direct Known Subclasses:
FigureDataContentProducer, ResourceContentProducer, TextHolderContentProducer

public abstract class AbstractContentProducer
extends java.lang.Object
implements ContentProducer, java.io.Serializable

Base class for the ContentProducers hierarchy
Doesn't do a thing now, but we may need this one later to add generic behaviour.

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.jhotdraw.contrib.html.ContentProducer
ENTITY_ARROW_MODE, ENTITY_FIGURE_HEIGHT, ENTITY_FIGURE_POSX, ENTITY_FIGURE_POSY, ENTITY_FIGURE_WIDTH, ENTITY_FILL_COLOR, ENTITY_FONT_NAME, ENTITY_FONT_SIZE, ENTITY_FONT_STYLE, ENTITY_FRAME_COLOR
 
Constructor Summary
AbstractContentProducer()
          Constructor for the AbstractContentProducer object
 
Method Summary
 void read(StorableInput dr)
          Writes the storable
 void write(StorableOutput dw)
          Writes the storable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jhotdraw.contrib.html.ContentProducer
getContent
 

Constructor Detail

AbstractContentProducer

public AbstractContentProducer()
Constructor for the AbstractContentProducer object

Method Detail

write

public void write(StorableOutput dw)
Writes the storable

Specified by:
write in interface Storable
Parameters:
dw - the storable output

read

public void read(StorableInput dr)
          throws java.io.IOException
Writes the storable

Specified by:
read in interface Storable
Parameters:
dr - the storable input
Throws:
java.io.IOException - thrown by called methods

JHotDraw 6.0b1