|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
prefuse.Display
emn.fr.ascola.view.PrefuseViewer
public abstract class PrefuseViewer
New viewer for architecture. Only binary communications else should use hyperlinks
| Nested Class Summary | |
|---|---|
class |
PrefuseViewer.ComponentRenderer
Default label renderer for artefact: information and thickness adjustement. |
class |
PrefuseViewer.DashedEdgeRenderer
Edge renderer for communications. |
class |
PrefuseViewer.DataRenderer
Renderer for data type. |
class |
PrefuseViewer.DefaultForceDirectedLayout
|
class |
PrefuseViewer.LongRadialTreeLayout
Long fixe length for radial. |
| Nested classes/interfaces inherited from class prefuse.Display |
|---|
prefuse.Display.InputEventCapturer |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
javax.swing.JComponent.AccessibleJComponent |
| Field Summary | |
|---|---|
static prefuse.data.expression.Predicate |
communication
|
static prefuse.data.expression.Predicate |
component
|
static prefuse.data.expression.Predicate |
composite
|
static prefuse.data.expression.Predicate |
datatype
|
static int |
LABEL_MAX_SIZE
|
static java.lang.String |
linear
|
static java.lang.String |
linkSearch
|
static double |
MAX_NODE_SIZE
|
static double |
MIN_NODE_SIZE
|
static java.lang.String |
NULL_STRING
|
static java.lang.String |
START
|
static java.lang.String |
STOP
|
static java.lang.String |
STRING_BALLOON
|
static java.lang.String |
STRING_BASIC
|
static java.lang.String |
STRING_CIRCLE
|
static java.lang.String |
STRING_COMM
|
static java.lang.String |
STRING_COUNT
|
static java.lang.String |
STRING_EDGES
|
static java.lang.String |
STRING_GRAPH
|
static java.lang.String |
STRING_INNER
|
static java.lang.String |
STRING_KIND
|
static java.lang.String |
STRING_LEVEL
|
static java.lang.String |
STRING_MIDDLE
|
static java.lang.String |
STRING_NAME
|
static java.lang.String |
STRING_NODES
|
static java.lang.String |
STRING_PTYPES
|
static java.lang.String |
STRING_RADIAL
|
static java.lang.String |
STRING_RTYPE
|
static java.lang.String |
STRING_SMALL
|
static java.lang.String |
STRING_TYPE
|
| Fields inherited from class javax.swing.JComponent |
|---|
TOOL_TIP_TEXT_KEY, 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 |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
PrefuseViewer()
Default constructor. |
|
| Method Summary | |
|---|---|
int |
artefactAnalysis(java.lang.String type,
int level,
boolean data)
Analyse an artefact, get its name, if already created and else create a new node for it. |
abstract void |
display()
Display the view. |
void |
edgeCommunication(java.lang.String lname,
java.lang.String from,
java.lang.String to,
java.lang.String ptypes,
java.lang.String rtype)
Create edges and add the count for MultiEdgeRenderer. |
void |
edgeCreation(boolean kind,
java.lang.String lname,
java.lang.String from,
java.lang.String to)
Edge creation |
prefuse.action.layout.Layout |
getLayout(java.lang.String key,
int s)
Choose the layout. |
void |
makeIt()
Transform the architecture into Prefuse datas. |
void |
setRenderer()
Define node and label renderer. |
void |
setTableCount()
Initialize table for count before adding communications |
| Methods inherited from class prefuse.Display |
|---|
addControlListener, addItemBoundsListener, addPaintListener, animatePan, animatePanAbs, animatePanAndZoomTo, animatePanAndZoomToAbs, animatePanTo, animatePanToAbs, animateZoom, animateZoomAbs, clearDamage, createToolTip, damageReport, damageReport, editText, editText, editText, findItem, getAbsoluteCoordinate, getCustomToolTip, getDisplayX, getDisplayY, getFrameRate, getInverseTransform, getItemBounds, getItemBounds, getItemSorter, getOffscreenBuffer, getPredicate, getScale, getTextEditor, getTransform, getVisibleItemCount, getVisualization, invalidate, isDamageRedraw, isHighQuality, isTranformInProgress, paintComponent, paintDisplay, pan, panAbs, panTo, panToAbs, removeControlListener, removeItemBoundsListener, removePaintListener, renderImmediate, repaintImmediate, reset, rotate, rotateAbs, saveImage, setBackgroundImage, setBackgroundImage, setBounds, setCustomToolTip, setDamageRedraw, setFont, setHighQuality, setItemSorter, setPredicate, setPredicate, setSize, setSize, setTextEditor, setTransform, setVisualization, stopEditing, update, zoom, zoomAbs |
| Methods inherited from class javax.swing.JComponent |
|---|
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, getAccessibleContext, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getUIClassID, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintImmediately, paintImmediately, print, printAll, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, updateUI |
| Methods inherited from class java.awt.Container |
|---|
add, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate |
| Methods inherited from class java.awt.Component |
|---|
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, createImage, createImage, createVolatileImage, createVolatileImage, dispatchEvent, enable, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, show, show, size, toString, transferFocus, transferFocusUpCycle |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String STRING_GRAPH
public static final java.lang.String STRING_NODES
public static final java.lang.String STRING_EDGES
public static final java.lang.String STRING_TYPE
public static final java.lang.String STRING_NAME
public static final java.lang.String STRING_KIND
public static final java.lang.String STRING_LEVEL
public static final java.lang.String STRING_PTYPES
public static final java.lang.String STRING_RTYPE
public static final java.lang.String STRING_COUNT
public static final java.lang.String STRING_COMM
public static final java.lang.String linkSearch
public static final int LABEL_MAX_SIZE
public static final java.lang.String STOP
public static final java.lang.String START
public static final double MAX_NODE_SIZE
public static final double MIN_NODE_SIZE
public static final java.lang.String NULL_STRING
public static final java.lang.String STRING_INNER
public static final java.lang.String STRING_BASIC
public static final java.lang.String STRING_SMALL
public static final java.lang.String STRING_MIDDLE
public static final java.lang.String STRING_RADIAL
public static final java.lang.String STRING_CIRCLE
public static final java.lang.String STRING_BALLOON
public static final java.lang.String linear
public static final prefuse.data.expression.Predicate communication
public static final prefuse.data.expression.Predicate composite
public static final prefuse.data.expression.Predicate datatype
public static final prefuse.data.expression.Predicate component
| Constructor Detail |
|---|
public PrefuseViewer()
| Method Detail |
|---|
public abstract void display()
public void makeIt()
public int artefactAnalysis(java.lang.String type,
int level,
boolean data)
art -
public void edgeCreation(boolean kind,
java.lang.String lname,
java.lang.String from,
java.lang.String to)
kind - true for compositename - from - to - public void setTableCount()
public void edgeCommunication(java.lang.String lname,
java.lang.String from,
java.lang.String to,
java.lang.String ptypes,
java.lang.String rtype)
public void setRenderer()
artefactumbering - linkNumbering -
public prefuse.action.layout.Layout getLayout(java.lang.String key,
int s)
the - key of strengths - size
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||