multivalent.std.adaptor.pdf
Class SpanPDF
java.lang.Object
multivalent.VObject
multivalent.Behavior
multivalent.Span
multivalent.std.adaptor.pdf.SpanPDF
- All Implemented Interfaces:
- ContextListener, EventListener, java.util.EventListener
- public class SpanPDF
- extends Span
A span that can set any PDF graphic state attribute: stroke color, fill color, font, Tr.
- Version:
- $Revision: 1.3 $ $Date: 2003/08/29 04:14:35 $
Method Summary |
boolean |
appearance(Context cx,
boolean all)
Resets the graphics context every time the object is added to or dropped from
the set active over the portion of the document being drawn. |
java.lang.String |
toString()
Subclasses should extend to check any attributes they add. |
Methods inherited from class multivalent.Span |
buildAfter, checkRep, close, closeAll, contains, contains, destroy, event, getEnd, getPriority, getStart, isSet, markDirty, move, move, move, moveq, moveq, moveq, moveqSwap, open, repaint, repaint, restore, save, semanticEventAfter, semanticEventBefore, stretch |
Methods inherited from class multivalent.Behavior |
buildBefore, clipboardAfter, clipboardBefore, createUI, eventAfter, eventBefore, formatAfter, formatBefore, getBrowser, getDocument, getInstance, getInstance, getLayer, getLogger, getName, getPreference, getRoot, isEditable, paintAfter, paintBefore, putPreference, redo, restoreChildren, setName, undo |
Methods inherited from class multivalent.VObject |
attrEntrySetIterator, attrKeysIterator, clearAttributes, getAttr, getAttr, getAttributes, getGlobal, getValue, hasAttributes, putAttr, removeAttr, setAttributes |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
stroke
public java.awt.Color stroke
fill
public java.awt.Color fill
font
public NFont font
Tr
public int Tr
SpanPDF
public SpanPDF()
appearance
public boolean appearance(Context cx,
boolean all)
- Description copied from interface:
ContextListener
- Resets the graphics context every time the object is added to or dropped from
the set active over the portion of the document being drawn.
These behaviors can come from the style sheet, be ad hoc spans,
be lenses, or come from elsewhere.
Should be fast.
- Specified by:
appearance
in interface ContextListener
- Overrides:
appearance
in class Span
all
- all attributes or exclude those that are not inherited
toString
public java.lang.String toString()
- Description copied from class:
Span
- Subclasses should extend to check any attributes they add.
- Overrides:
toString
in class Span