Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Multivalent API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## multivalent.std.adaptor.pdf
Class ContractualObligation

    java.lang.Object
      multivalent.VObject
          multivalent.Behavior
              multivalent.std.adaptor.pdf.ContractualObligation

public class ContractualObligation
extends Behavior

Enforce permissions (don't print, don't copy and paste, ...), which is hard and unnatural in Multivalent, but required by Adobe. See PDF Reference, page 77.

Version:
  $Revision: 1.3 $ $Date: 2003/06/01 07:01:01 $

Field Summary

Fields inherited from class multivalent.Behavior
`ATTR_BEHAVIOR, name_`

Fields inherited from class multivalent.VObject
`attr_`

Constructor Summary
`ContractualObligation()`

Method Summary
`void` | `buildAfter(Document doc)` If encrypted and permissions set, observe root in order to enforce.
`boolean` | `clipboardAfter(java.lang.StringBuffer sb, Node node)` Enforce copying/extraction restriction.
`boolean` | `semanticEventBefore(SemanticEvent se, java.lang.String msg)` Enforce printing restriction.

Methods inherited from class multivalent.Behavior
`buildBefore, checkRep, clipboardBefore, createUI, destroy, eventAfter, eventBefore, formatAfter, formatBefore, getBrowser, getDocument, getInstance, getInstance, getLayer, getLogger, getName, getPreference, getRoot, isEditable, paintAfter, paintBefore, putPreference, redo, restore, restoreChildren, save, semanticEventAfter, setName, toString, 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`

Constructor Detail

### ContractualObligation

    public ContractualObligation()

Method Detail

### buildAfter

    public void buildAfter(Document doc)

  If encrypted and permissions set, observe root in order to enforce.

  Overrides:
    `buildAfter` in class `Behavior`

### semanticEventBefore

    public boolean semanticEventBefore(SemanticEvent se,
                                       java.lang.String msg)

  Enforce printing restriction.

  Overrides:
    `semanticEventBefore` in class `Behavior`

### clipboardAfter

    public boolean clipboardAfter(java.lang.StringBuffer sb,
                                  Node node)

  Enforce copying/extraction restriction.

  Overrides:
    `clipboardAfter` in class `Behavior`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Multivalent API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD