|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jhotdraw.contrib.html.AbstractContentProducer
org.jhotdraw.contrib.html.FigureDataContentProducer
org.jhotdraw.contrib.html.AttributeFigureContentProducer
AttributeFigureContentProducer provides content for AttributeFigures.
It gives priority to base class supplied values, and if none, then it
gets the value from the supplied AttributeContentProducerContext.
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 | |
AttributeFigureContentProducer()
Constructor for the AttributeFigureContentProducer object |
Method Summary | |
java.lang.Object |
getContent(ContentProducerContext context,
java.lang.String ctxAttrName,
java.lang.Object ctxAttrValue)
Produces the contents for the attribute |
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 |
Constructor Detail |
public AttributeFigureContentProducer()
Method Detail |
public java.lang.Object getContent(ContentProducerContext context, java.lang.String ctxAttrName, java.lang.Object ctxAttrValue)
getContent
in interface ContentProducer
getContent
in class FigureDataContentProducer
context
- the calling client contextctxAttrName
- the attribute namectxAttrValue
- the attribute value that led to the call to this
public void write(StorableOutput dw)
write
in interface Storable
write
in class FigureDataContentProducer
dw
- the storable outputpublic void read(StorableInput dr) throws java.io.IOException
read
in interface Storable
read
in class FigureDataContentProducer
dr
- the storable input
java.io.IOException
- thrown by called methods
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |