multivalent.gui
Class VSeparator
java.lang.Object
multivalent.VObject
multivalent.Node
multivalent.Leaf
multivalent.gui.VSeparator
- All Implemented Interfaces:
- java.lang.Cloneable
- public class VSeparator
- extends Leaf
Menu separator widget, whose name is used to identify menu categories.
Formats as horizontal rule, unless if first or last in menu or follows another sepaarator, in which case it's an empty (0x0) box.
- Version:
- $Revision: 1.2 $ $Date: 2002/01/27 02:02:51 $
Fields inherited from class multivalent.Node |
align, ALIGN_INVALID, ATTR_ID, ATTR_SCRIPT, baseline, BASELINE, bbox, BOTH, BOTTOM, CENTER, CHAR, FILL, floats, INHERIT, JUSTIFY, LEFT, MAXNONSTRUCTDEPTH, MIDDLE, name_, NONE, observers_, parent_, PROBEWIDTH, RIGHT, sticky_, stickycnt_, TOP, valid_, valign |
Constructor Summary |
VSeparator(java.lang.String name,
java.util.Map<java.lang.String,java.lang.Object> attrs,
INode parent)
UI category name often stuffed in name. |
Methods inherited from class multivalent.Leaf |
append, checkRep, clipboardBeforeAfter, clipboardNode, copy, cut, delete, dx, dy, eatme, eventBeforeAfter, eventNode, formatBeforeAfter, formatNode, getFirstLeaf, getLastLeaf, insert, insert, isLeaf, lengthTo, markDirtySubtreeDown, offset2rel, paintBeforeAfter, paintNode, paste, paste, removeTidy, setName, split, subelement, subelementCalc, subelementHit |
Methods inherited from class multivalent.Node |
addObserver, addSticky, addSticky, breakAfter, breakBefore, childNum, clipboardBeforeAfter, clone, cmp, commonAncestor, commonAncestor, contains, contains, deleteObserver, dump, dump, dump, findBFS, findBFS, findBFS, findDFS, findDFS, findDFS, findDFS, getAbsLocation, getActivesAt, getActivesAt, getActivesAt, getBbox, getBrowser, getDocument, getElementById, getIScrollPane, getName, getNextLeaf, getNextNode, getNodeName, getObservers, getParentNode, getPrevLeaf, getPrevNode, getRelLocation, getRoot, getSticky, indexSticky, intersects, isStruct, isValid, markDirty, markDirtySubtree, markDirtyTo, morphInto, reformat, remove, removeSticky, removeSticky, repaint, repaint, repaint, repaint, scrollTo, scrollTo, setParentNode, setValid, size, sizeSticky, spanChunky, spanChunky, structChildNum, toString |
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 |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
VSeparator
public VSeparator(java.lang.String name,
java.util.Map<java.lang.String,java.lang.Object> attrs,
INode parent)
- UI category name often stuffed in name.
formatNodeContent
public boolean formatNodeContent(Context cx,
int start,
int end)
- Overrides:
formatNodeContent
in class Leaf
paintNodeContent
public boolean paintNodeContent(Context cx,
int start,
int end)
- Overrides:
paintNodeContent
in class Leaf