|
|||||||||
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 | +--java.awt.Panel | +--com.vm.visual.VMPanel
Inner classes inherited from class java.awt.Panel |
java.awt.Panel.AccessibleAWTPanel |
Inner classes inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
Inner classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent |
Field Summary | |
protected java.awt.Color |
arrowColor
|
protected java.awt.Color |
backgroundcolor
|
protected int |
dx
|
protected int |
dx3d
|
protected int |
dy
|
protected int |
dy3d
|
protected int |
dz3d
|
protected java.awt.FontMetrics |
fm
|
java.awt.Scrollbar |
horz
|
protected java.awt.Color |
nodeColor
|
protected java.awt.Graphics |
offgraphics
|
protected java.awt.Image |
offscreen
|
protected java.awt.Dimension |
offscreensize
|
protected boolean |
picked
|
protected int |
picked_x
|
protected int |
picked_y
|
protected VMNode |
pickednode
|
VMProjector |
projector
|
protected java.awt.Color |
selectColor
|
protected VMNode |
selectednode
|
VMSpace |
space
|
protected java.awt.Color |
textColor
|
java.awt.Scrollbar |
vert
|
protected java.lang.Thread |
worker
|
protected int |
xmax
|
protected int |
xmin
|
protected int |
ymax
|
protected int |
ymin
|
protected int |
zmax
|
protected int |
zmin
|
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 | |
VMPanel(VMSpace i_space)
|
Method Summary | |
static java.awt.Color |
colorFromString(java.lang.String i_color,
java.awt.Color i_defaultcolor)
|
protected void |
drawArrow(java.awt.Graphics g,
int x1,
int y1,
int x2,
int y2)
|
protected void |
drawArrow(java.awt.Graphics g,
int x1,
int y1,
int x2,
int y2,
boolean bMiddleArrow,
java.awt.Color drawColor)
Need to be merged |
protected void |
drawNode_old_and_not_used(java.awt.Graphics g,
VMNode n,
java.awt.FontMetrics fm,
boolean i_shadow,
java.awt.Color drawColor)
Need to be merged |
boolean |
mouseDown(java.awt.Event evt,
int x,
int y)
|
boolean |
mouseDrag(java.awt.Event evt,
int x,
int y)
|
boolean |
mouseUp(java.awt.Event evt,
int x,
int y)
|
void |
paint(java.awt.Graphics g)
|
void |
paintLink(java.awt.Graphics g,
VMNode node)
|
void |
paintLink(java.awt.Graphics g,
VMNode node,
java.awt.FontMetrics fm)
|
void |
paintLink(java.awt.Graphics g,
VMNode node,
java.awt.FontMetrics fm,
java.lang.String linktype,
boolean inverseDirection)
|
void |
paintNode(java.awt.Graphics g,
VMNode n,
boolean i_shadow)
|
void |
paintNode(java.awt.Graphics g,
VMNode n,
java.awt.FontMetrics fm,
boolean i_shadow)
|
protected void |
paintText(java.lang.String text,
java.awt.Graphics g,
int x,
int y)
Added to fix Graphics.translate bug in JDK 117 |
void |
resetColors()
|
void |
resetSize()
scrollbars fixed since JDK 117 - Anton |
void |
run()
|
void |
start()
|
void |
stop()
|
static java.lang.String |
stringFromColor(java.awt.Color i_color)
|
void |
update(java.awt.Graphics g)
|
Methods inherited from class java.awt.Panel |
addNotify, getAccessibleContext |
Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, addImpl, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, layout, list, list, locate, minimumSize, paintComponents, paramString, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setFont, setLayout, validate, validateTree |
Methods inherited from class java.awt.Component |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addPropertyChangeListener, addPropertyChangeListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getInputContext, getInputMethodRequests, getLocale, getLocation, getLocation, getLocationOnScreen, getName, getParent, getPeer, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isDisplayable, isDoubleBuffered, isEnabled, isFocusTraversable, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseEnter, mouseExit, mouseMove, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setForeground, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public VMSpace space
protected java.lang.Thread worker
protected VMNode pickednode
protected VMNode selectednode
protected int picked_x
protected int picked_y
protected boolean picked
protected java.awt.Image offscreen
protected java.awt.Dimension offscreensize
protected java.awt.Graphics offgraphics
protected java.awt.FontMetrics fm
protected java.awt.Color backgroundcolor
protected int xmax
protected int ymax
protected int xmin
protected int ymin
protected int zmin
protected int zmax
protected int dx3d
protected int dy3d
protected int dz3d
protected int dx
protected int dy
public java.awt.Scrollbar vert
public java.awt.Scrollbar horz
protected java.awt.Color selectColor
protected java.awt.Color nodeColor
protected java.awt.Color textColor
protected java.awt.Color arrowColor
public VMProjector projector
Constructor Detail |
public VMPanel(VMSpace i_space)
Method Detail |
public static java.lang.String stringFromColor(java.awt.Color i_color)
public static java.awt.Color colorFromString(java.lang.String i_color, java.awt.Color i_defaultcolor)
public void resetSize()
public void run()
public void paintLink(java.awt.Graphics g, VMNode node)
public void paintLink(java.awt.Graphics g, VMNode node, java.awt.FontMetrics fm)
public void paintLink(java.awt.Graphics g, VMNode node, java.awt.FontMetrics fm, java.lang.String linktype, boolean inverseDirection)
public void paintNode(java.awt.Graphics g, VMNode n, boolean i_shadow)
public void paintNode(java.awt.Graphics g, VMNode n, java.awt.FontMetrics fm, boolean i_shadow)
protected void paintText(java.lang.String text, java.awt.Graphics g, int x, int y)
protected void drawArrow(java.awt.Graphics g, int x1, int y1, int x2, int y2)
protected void drawNode_old_and_not_used(java.awt.Graphics g, VMNode n, java.awt.FontMetrics fm, boolean i_shadow, java.awt.Color drawColor)
protected void drawArrow(java.awt.Graphics g, int x1, int y1, int x2, int y2, boolean bMiddleArrow, java.awt.Color drawColor)
public void resetColors()
public void paint(java.awt.Graphics g)
paint
in class java.awt.Container
public void update(java.awt.Graphics g)
update
in class java.awt.Container
public boolean mouseDown(java.awt.Event evt, int x, int y)
mouseDown
in class java.awt.Component
public boolean mouseDrag(java.awt.Event evt, int x, int y)
mouseDrag
in class java.awt.Component
public boolean mouseUp(java.awt.Event evt, int x, int y)
mouseUp
in class java.awt.Component
public void start()
public void stop()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |