|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.awt.Component
|
+--java.awt.Container
|
+--javax.swing.JComponent
|
+--edu.mit.ai.psg.ui.outliner.OutlineRendererDefault
|
+--edu.mit.ai.psg.ui.outliner.CallOutlineRendererDefault
Default outline renderer for CallOutlineNodes. This
renderer creates a call partner with itself as renderer, so
invocation and result nodes in outline display will be identical.
To make result display differently, override
CallOutlineRenderer.generatePartner(edu.mit.ai.psg.ui.outliner.CallOutlineNode) to make renderer create
a result node with either a different renderer or different object.
Requirement: if either invocation or return outline node
uses renderer derived from this class, the other does as well
(so they can coordinate through a private static
ThreadLocal field).
CallOutlineRendererCaching, Serialized Form| Inner classes inherited from class edu.mit.ai.psg.ui.outliner.OutlineRendererDefault |
OutlineRendererDefault.OutlineText |
| Inner classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
| Fields inherited from class edu.mit.ai.psg.ui.outliner.OutlineRendererDefault |
defaultToolTipText,
labelComponent,
myOutlineMaker,
objectComponent |
| Fields inherited from class javax.swing.JComponent |
accessibleContext,
listenerList,
TOOL_TIP_TEXT_KEY,
ui,
UNDEFINED_CONDITION,
WHEN_ANCESTOR_OF_FOCUSED_COMPONENT,
WHEN_FOCUSED,
WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT,
CENTER_ALIGNMENT,
LEFT_ALIGNMENT,
RIGHT_ALIGNMENT,
TOP_ALIGNMENT |
| Constructor Summary | |
CallOutlineRendererDefault(OutlineMaker outlineMaker)
|
|
| Method Summary | |
void |
generatePartner(CallOutlineNode invocationNode)
default method makes result partner node with same object and label, linked with invocation node |
OutlineNode |
makeOutlineNode(Object label,
Object obj)
Makes a CallOutlineNodeDefault for result; calls generatePartner to create partner call outline node |
void |
notifyInserted(OutlineModel model,
OutlineNode child,
int idx)
calls super.NotifyInserted, and if child.isInvocation, inserts its partner after it in its parent if necessary |
void |
notifyRemoving(OutlineModel model,
OutlineNode child)
calls super.notifyRemoving, and removes its partner if necessary |
| Methods inherited from class edu.mit.ai.psg.ui.outliner.OutlineRendererDefault |
addPopupMenuItems,
addPopupMenuTitle,
computeLabelText,
computeLabelText,
computeObjectText,
computeObjectText,
computeToolTipText,
equals,
getLabelComponent,
getLabelText,
getObjectComponent,
getObjectText,
getOutlineMaker,
getToolTipText,
getTreeCellRendererComponent,
isShowing,
makeChildOutlineNodes,
makeNoteOutlineNode,
makeOutlineNode,
paint,
toString |
| Methods inherited from class java.awt.Container |
add,
add,
add,
add,
add,
addContainerListener,
addImpl,
countComponents,
deliverEvent,
doLayout,
findComponentAt,
findComponentAt,
getComponent,
getComponentAt,
getComponentAt,
getComponentCount,
getComponents,
getLayout,
insets,
invalidate,
isAncestorOf,
layout,
list,
list,
locate,
minimumSize,
paintComponents,
preferredSize,
print,
printComponents,
processContainerEvent,
processEvent,
remove,
remove,
removeAll,
removeContainerListener,
setCursor,
setLayout,
validate,
validateTree |
| Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Constructor Detail |
public CallOutlineRendererDefault(OutlineMaker outlineMaker)
| Method Detail |
public OutlineNode makeOutlineNode(Object label,
Object obj)
label - Object to use for rendering label, or null if no label.object - Object for the tree node.public void generatePartner(CallOutlineNode invocationNode)
public void notifyInserted(OutlineModel model,
OutlineNode child,
int idx)
public void notifyRemoving(OutlineModel model,
OutlineNode child)
|
Copyright (c) 1996-1999 Massachusetts Institute of Technology Feedback: jeva-feedback@ai.mit.edu |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||