public class GraphJEditor extends javax.swing.JFrame implements java.awt.event.ActionListener, java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.io.FilenameFilter, ImageReader, GraphListener
javax.swing.JFrame.AccessibleJFrame
java.awt.Window.AccessibleAWTWindow, java.awt.Window.Type
Modifier and Type | Field and Description |
---|---|
(package private) java.awt.Color |
activeColor |
(package private) static int |
ADD |
(package private) static int |
ADD1 |
(package private) java.lang.String |
appInfo |
(package private) static int |
BACKGROUND |
(package private) java.awt.Image |
bg |
(package private) static int |
CLICKONARC |
(package private) static int |
CLICKONNODE |
(package private) static int |
CLICKONSOME |
(package private) static int |
COLOR |
(package private) boolean |
defaultFill |
(package private) java.lang.String |
defaultImage |
(package private) java.lang.String |
defaultName |
(package private) int |
defaultShape |
(package private) int |
defaultSize |
(package private) double |
defaultWeight |
(package private) java.lang.String |
dirname
i nomi del file editato e della cartella che lo contiene
|
(package private) int |
FILE |
(package private) java.lang.String |
filename
i nomi del file editato e della cartella che lo contiene
|
(package private) static int |
FILL |
(package private) static int |
FILL1 |
(package private) GraphJPanel |
gp
il GraphPanel interno all'editor
|
(package private) static int |
IMAGE |
(package private) static int |
IMAGE1 |
(package private) javax.swing.JPanel |
inputZone
la zona di input
|
(package private) boolean |
isOk |
(package private) java.lang.String[][] |
labels |
(package private) java.awt.event.MouseEvent |
lastEvent |
(package private) static int |
LINK |
(package private) static int |
LINK1 |
(package private) static int |
MAT |
(package private) static int |
MCOL |
(package private) static int |
MEDIT |
(package private) static int |
MFILE |
(package private) static int |
MINL |
(package private) static int |
MINL1 |
(package private) static int |
MINP |
(package private) static int |
MINP1 |
(package private) javax.swing.JMenuItem |
mnAdd |
(package private) javax.swing.JMenuItem |
mnAdd1 |
(package private) javax.swing.JMenuItem |
mnBackground |
(package private) javax.swing.JMenuItem |
mnClearBackground |
(package private) javax.swing.JMenu |
mnCol
le voci del menu' principale
|
(package private) javax.swing.JMenuItem |
mnColBlack |
(package private) javax.swing.JMenuItem |
mnColBlue |
(package private) javax.swing.JMenuItem |
mnColGreen |
(package private) javax.swing.JMenuItem |
mnColPick |
(package private) javax.swing.JMenuItem |
mnColRed |
(package private) javax.swing.JMenuItem |
mnColSet |
(package private) javax.swing.JMenuItem |
mnColSpec |
(package private) javax.swing.JMenu |
mnDefault
le voci del menu' principale
|
(package private) javax.swing.JMenu |
mnEdit
le voci del menu' principale
|
(package private) javax.swing.JMenuItem |
mnExit
le sottovoci del menu'
|
(package private) javax.swing.JMenu |
mnFile
le voci del menu' principale
|
(package private) javax.swing.JMenu |
mnHelp
le voci del menu' principale
|
(package private) javax.swing.JMenuItem |
mnImage |
(package private) javax.swing.JMenuItem |
mnImage1 |
(package private) javax.swing.JMenuItem |
mnInfo |
(package private) javax.swing.JMenuItem |
mnLink |
(package private) javax.swing.JMenuItem |
mnLink1 |
(package private) javax.swing.JMenuItem |
mnMat
le sottovoci del menu'
|
(package private) javax.swing.JMenuItem |
mnMatAs
le sottovoci del menu'
|
(package private) javax.swing.JMenuItem |
mnMerge
le sottovoci del menu'
|
(package private) javax.swing.JMenuItem |
mnMinL |
(package private) javax.swing.JMenuItem |
mnMinL1 |
(package private) javax.swing.JMenuItem |
mnMinP |
(package private) javax.swing.JMenuItem |
mnMinP1 |
(package private) javax.swing.JMenuItem |
mnName |
(package private) javax.swing.JMenu |
mnNameVal
le voci del menu' principale
|
(package private) javax.swing.JMenuItem |
mnNew
le sottovoci del menu'
|
(package private) javax.swing.JMenuItem |
mnOpen
le sottovoci del menu'
|
(package private) javax.swing.JMenuItem |
mnPath |
(package private) javax.swing.JMenu |
mnPoint
le voci del menu' principale
|
(package private) javax.swing.JMenuItem |
mnPrint
le sottovoci del menu'
|
(package private) javax.swing.JMenuItem |
mnRem |
(package private) javax.swing.JMenuItem |
mnRem1 |
(package private) javax.swing.JMenuItem |
mnRen |
(package private) javax.swing.JMenuItem |
mnRen1 |
(package private) javax.swing.JMenuItem |
mnReset |
(package private) javax.swing.JMenuItem |
mnReshape |
(package private) javax.swing.JMenuItem |
mnReshape1 |
(package private) javax.swing.JMenuItem |
mnResize |
(package private) javax.swing.JMenuItem |
mnResize1 |
(package private) javax.swing.JMenuItem |
mnSave
le sottovoci del menu'
|
(package private) javax.swing.JMenuItem |
mnSaveAs
le sottovoci del menu'
|
(package private) javax.swing.JMenuItem |
mnSaveImage
le sottovoci del menu'
|
(package private) javax.swing.JMenu |
mnSearch
le voci del menu' principale
|
(package private) javax.swing.JMenuItem |
mnSetFill |
(package private) javax.swing.JMenuItem |
mnSetFill1 |
(package private) javax.swing.JMenuItem |
mnShowLabel |
(package private) javax.swing.JMenuItem |
mnShowWeight |
(package private) javax.swing.JMenuItem |
mnUnlink |
(package private) javax.swing.JMenuItem |
mnUnlink1 |
(package private) javax.swing.JMenu |
mnView
le voci del menu' principale
|
(package private) javax.swing.JMenuItem |
mnWeight |
(package private) javax.swing.JMenuItem |
mnWeight1 |
(package private) javax.swing.JMenu |
mnWeightVal
le voci del menu' principale
|
(package private) javax.swing.JMenu |
mnZoom
le voci del menu' principale
|
(package private) javax.swing.JMenuItem |
mnZoomIn |
(package private) javax.swing.JMenuItem |
mnZoomOut |
(package private) javax.swing.JMenuItem |
mnZoomSet |
(package private) boolean |
modified
indica se il grafo e' stato modificato
|
(package private) static int |
MSERACH |
(package private) static int |
MZOOM |
(package private) static int |
NAME |
(package private) static int |
OPEN |
(package private) boolean |
openDialog
to remember that a dialog box was open avoiding to use incorrectly the second click
|
(package private) int |
operation |
(package private) static int |
PATH |
(package private) java.lang.String |
primo
Nome del primo nodo di un percorsoi
|
(package private) java.lang.String[] |
prompt |
(package private) javax.swing.JLabel |
prompts
il campo di suggerimento
|
(package private) java.lang.String[][] |
promptText |
(package private) static int |
REM |
(package private) static int |
REN |
(package private) static int |
REN1 |
(package private) static int |
SAVE |
(package private) static int |
SEC |
(package private) static long |
serialVersionUID |
(package private) static int |
SHAPE |
(package private) static int |
SHAPE1 |
(package private) static int |
SIZE |
(package private) static int |
SIZE1 |
(package private) javax.swing.JLabel |
status
la barra di stato
|
(package private) static int |
UNL |
(package private) java.lang.String |
version
la versione del programma
|
(package private) java.lang.String[] |
warnMessage |
(package private) java.lang.String[][] |
warnMessageText |
(package private) static int |
WEIGHT |
(package private) static int |
ZOOM |
accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
Constructor and Description |
---|
GraphJEditor()
Crea un GraphJEditor
|
Modifier and Type | Method and Description |
---|---|
boolean |
accept(java.io.File dir,
java.lang.String name)
Filtra i files da presentare
|
void |
actionPerformed(java.awt.event.ActionEvent ae)
Esegue le azioni attivate da un evento
|
void |
arcSelected(GraphEvent ge)
invocata quando un arco viene selezionato
|
void |
changed(GraphEvent ge)
invocata quando il pannello viene modificato
|
(package private) void |
changeFillNodeN()
Modifica la dimensione di un nodo dal grafo indicandone il nome
|
(package private) void |
changeImageN()
Modifica l'immagine di un nodo dal grafo indicandone il nome
|
(package private) void |
changeShowLabels() |
(package private) void |
changeShowWeights() |
(package private) void |
clearBackground()
Cancella il background del grafo
|
(package private) void |
doOperation(java.awt.event.MouseEvent e)
Esegue l'operazione attivata dall'evento
|
java.awt.Image |
getImage(java.lang.String ims)
Ritorna una immagine
|
(package private) void |
link()
Crea un arco nel grafo
|
(package private) void |
loadBackground()
Carica il background del grafo
|
(package private) void |
loadGraph(boolean merging)
Carica un grafo
|
static void |
main(java.lang.String[] a)
Il metodo di lancio dell'applicazione
|
void |
mouseClicked(java.awt.event.MouseEvent e)
Gestisce l'evento del click sul mouse
|
void |
mouseDragged(java.awt.event.MouseEvent e)
Gestisce l'evento del trasinamento del mouse
|
void |
mouseEntered(java.awt.event.MouseEvent e)
Gestisce l'evento dell'entrata del mouse
|
void |
mouseExited(java.awt.event.MouseEvent e)
Gestisce l'evento dell'uscita del mouse
|
void |
mouseMoved(java.awt.event.MouseEvent e)
Gestisce l'evento del movimento del mouse
|
void |
mousePressed(java.awt.event.MouseEvent e)
Gestisce l'evento della pressione sul mouse
|
void |
mouseReleased(java.awt.event.MouseEvent e)
Gestisce l'evento del rilascio del mouse
|
void |
moved(GraphEvent ge)
invocata quando il pannello viene spostato
|
void |
nodeSelected(GraphEvent ge)
invocata quando un nodo viene selezionato
|
void |
refreshValues()
Aggiorna i cambiamenti
|
(package private) void |
remNode()
Cancella un nodo
|
(package private) void |
renNodeN()
Rinomina un nodo del grafo indicandone il nome
|
(package private) void |
reshapeNodeN()
Modifica la forma di un nodo dal grafo indicandone il nome
|
(package private) void |
resizeNodeN()
Modifica la dimensione di un nodo dal grafo indicandone il nome
|
(package private) void |
saveGraph(boolean graph,
boolean as)
Salva un grafo
|
(package private) void |
searchN(boolean length,
boolean path)
Evidenzia un percorso nel grafo
|
(package private) void |
searchP(boolean length)
Cerca il percorso minimo nel grafo
|
(package private) void |
searchPU(boolean length)
Cerca il percorso minimo nel grafo indicato tramite popoup
|
void |
set(GraphEvent ge)
invocata quando vengono modificati i default del pannello
|
(package private) void |
setMenu(boolean ena)
Abilita o disabilita le voci del menu
|
(package private) void |
setNodeArcColor()
Stabilisce il colore dei prossimi archi
|
(package private) void |
setNodeArcColorPU()
Stabilisce il colore dei prossimi archi indicato tramite popup
|
(package private) void |
setNodeName()
Stabilisce il nome del prossimo nodo
|
(package private) void |
setSignColor(java.awt.Color c)
Stabilisce il colore dei segni
|
(package private) void |
setWeightN()
Stabilisce il peso dei prossimi archi tramite barra di stato
|
(package private) void |
setWeightP()
Stabilisce il peso dei prossimi archi
|
(package private) void |
setWeightPU()
Stabilisce il peso dei prossimi archi indicato tramite popup
|
(package private) void |
setZoom()
Stabilisce l'ingrandimento dello zoom
|
(package private) void |
showInfo()
Fornisce le informazioni sul programma
|
(package private) void |
unlink()
Cancella un arco del grafo
|
(package private) void |
unlinkPU()
Cancella un arco del grafo indicato tramite popup
|
void |
zoomed(GraphEvent ge)
invocata quando viene fatto uno zoom sul pannello
|
addImpl, createRootPane, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isDefaultLookAndFeelDecorated, isRootPaneCheckingEnabled, paramString, processWindowEvent, remove, repaint, setContentPane, setDefaultCloseOperation, setDefaultLookAndFeelDecorated, setGlassPane, setIconImage, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update
addNotify, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setBackground, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setOpacity, setResizable, setShape, setState, setTitle, setUndecorated
addPropertyChangeListener, addPropertyChangeListener, addWindowFocusListener, addWindowListener, addWindowStateListener, applyResourceBundle, applyResourceBundle, createBufferStrategy, createBufferStrategy, dispose, getBackground, getBufferStrategy, getFocusableWindowState, getFocusCycleRootAncestor, getFocusOwner, getFocusTraversalKeys, getIconImages, getInputContext, getListeners, getLocale, getModalExclusionType, getMostRecentFocusOwner, getOpacity, getOwnedWindows, getOwner, getOwnerlessWindows, getShape, getToolkit, getType, getWarningString, getWindowFocusListeners, getWindowListeners, getWindows, getWindowStateListeners, hide, isActive, isAlwaysOnTop, isAlwaysOnTopSupported, isAutoRequestFocus, isFocusableWindow, isFocusCycleRoot, isFocused, isLocationByPlatform, isOpaque, isShowing, isValidateRoot, pack, paint, postEvent, processEvent, processWindowFocusEvent, processWindowStateEvent, removeWindowFocusListener, removeWindowListener, removeWindowStateListener, reshape, setAlwaysOnTop, setAutoRequestFocus, setBounds, setBounds, setCursor, setFocusableWindowState, setFocusCycleRoot, setIconImages, setLocation, setLocation, setLocationByPlatform, setLocationRelativeTo, setMinimumSize, setModalExclusionType, setSize, setSize, setType, setVisible, show, toBack, toFront
add, add, add, add, add, addContainerListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalPolicy, getInsets, getLayout, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validate, validateTree
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resize, resize, revalidate, setComponentOrientation, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setMaximumSize, setName, setPreferredSize, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
static final long serialVersionUID
java.lang.String version
GraphJPanel gp
javax.swing.JPanel inputZone
javax.swing.JLabel status
javax.swing.JLabel prompts
boolean modified
java.lang.String filename
java.lang.String dirname
javax.swing.JMenu mnFile
javax.swing.JMenu mnEdit
javax.swing.JMenu mnView
javax.swing.JMenu mnSearch
javax.swing.JMenu mnCol
javax.swing.JMenu mnDefault
javax.swing.JMenu mnZoom
javax.swing.JMenu mnPoint
javax.swing.JMenu mnNameVal
javax.swing.JMenu mnWeightVal
javax.swing.JMenu mnHelp
javax.swing.JMenuItem mnNew
javax.swing.JMenuItem mnSave
javax.swing.JMenuItem mnMat
javax.swing.JMenuItem mnSaveAs
javax.swing.JMenuItem mnMatAs
javax.swing.JMenuItem mnSaveImage
javax.swing.JMenuItem mnOpen
javax.swing.JMenuItem mnMerge
javax.swing.JMenuItem mnPrint
javax.swing.JMenuItem mnExit
javax.swing.JMenuItem mnAdd
javax.swing.JMenuItem mnLink
javax.swing.JMenuItem mnRem
javax.swing.JMenuItem mnUnlink
javax.swing.JMenuItem mnResize
javax.swing.JMenuItem mnImage
javax.swing.JMenuItem mnMinL
javax.swing.JMenuItem mnMinP
javax.swing.JMenuItem mnPath
javax.swing.JMenuItem mnRen
javax.swing.JMenuItem mnReshape
javax.swing.JMenuItem mnSetFill
javax.swing.JMenuItem mnAdd1
javax.swing.JMenuItem mnLink1
javax.swing.JMenuItem mnRem1
javax.swing.JMenuItem mnUnlink1
javax.swing.JMenuItem mnResize1
javax.swing.JMenuItem mnImage1
javax.swing.JMenuItem mnMinL1
javax.swing.JMenuItem mnMinP1
javax.swing.JMenuItem mnRen1
javax.swing.JMenuItem mnColSet
javax.swing.JMenuItem mnWeight1
javax.swing.JMenuItem mnReshape1
javax.swing.JMenuItem mnSetFill1
javax.swing.JMenuItem mnColRed
javax.swing.JMenuItem mnColBlack
javax.swing.JMenuItem mnColGreen
javax.swing.JMenuItem mnColBlue
javax.swing.JMenuItem mnColSpec
javax.swing.JMenuItem mnColPick
javax.swing.JMenuItem mnName
javax.swing.JMenuItem mnWeight
javax.swing.JMenuItem mnZoomIn
javax.swing.JMenuItem mnZoomOut
javax.swing.JMenuItem mnZoomSet
javax.swing.JMenuItem mnBackground
javax.swing.JMenuItem mnClearBackground
javax.swing.JMenuItem mnShowWeight
javax.swing.JMenuItem mnShowLabel
javax.swing.JMenuItem mnReset
javax.swing.JMenuItem mnInfo
java.awt.Color activeColor
java.awt.Image bg
double defaultWeight
java.lang.String defaultName
java.lang.String defaultImage
int defaultSize
int defaultShape
boolean defaultFill
static final int MFILE
static final int MEDIT
static final int MSERACH
static final int MCOL
static final int MZOOM
static final int ADD
static final int LINK
static final int SAVE
static final int OPEN
static final int MINL
static final int MINP
static final int PATH
static final int COLOR
static final int REM
static final int UNL
static final int MAT
static final int WEIGHT
static final int SEC
static final int MINL1
static final int MINP1
static final int REN
static final int REN1
static final int ZOOM
static final int NAME
static final int BACKGROUND
static final int CLICKONNODE
static final int CLICKONARC
static final int CLICKONSOME
static final int LINK1
static final int SIZE
static final int SIZE1
static final int IMAGE
static final int IMAGE1
static final int ADD1
static final int SHAPE
static final int SHAPE1
static final int FILL
static final int FILL1
java.lang.String[][] promptText
java.lang.String[] prompt
java.lang.String[][] warnMessageText
java.lang.String[] warnMessage
final int FILE
java.lang.String[][] labels
java.lang.String appInfo
int operation
java.awt.event.MouseEvent lastEvent
boolean openDialog
boolean isOk
java.lang.String primo
void setMenu(boolean ena)
ena
- se true abilita le voci del menu, la disabilita altrimentipublic void actionPerformed(java.awt.event.ActionEvent ae)
actionPerformed
in interface java.awt.event.ActionListener
ae
- l'evento gestitopublic void refreshValues()
public java.awt.Image getImage(java.lang.String ims)
getImage
in interface ImageReader
ims
- nome dell'immagine da ritornarepublic boolean accept(java.io.File dir, java.lang.String name)
accept
in interface java.io.FilenameFilter
dir
- la cartella che viene visualizzataname
- il nome del file indicatovoid saveGraph(boolean graph, boolean as)
graph
- se true salva la forma estesa, altrimenti salva la forma compattaas
- se true chiede il nuovo nome del file in cui salvare il grafo, altrimenti usa il nome del file di provenienzavoid loadGraph(boolean merging)
void clearBackground()
void loadBackground()
void renNodeN()
void resizeNodeN()
void reshapeNodeN()
void changeFillNodeN()
void changeImageN()
void remNode()
void link()
void unlinkPU()
void unlink()
void changeShowWeights()
void changeShowLabels()
void searchP(boolean length)
length
- true se viene cercata la minima lunghezza, altrimenti cerca il peso minimovoid searchPU(boolean length)
length
- true se viene cercata la minima lunghezza, altrimenti cerca il peso minimovoid searchN(boolean length, boolean path)
length
- true se viene cercata la minima lunghezza, altrimenti evidenzia il percorso di peso minimopath
- true se si richiede un percorso indicato, altriemnti evidenzia il percorso di peso minimovoid setZoom()
void setSignColor(java.awt.Color c)
c
- il colore dei prossimi segnivoid setNodeName()
void setWeightP()
void setWeightPU()
void setWeightN()
void setNodeArcColor()
void setNodeArcColorPU()
void showInfo()
public void arcSelected(GraphEvent ge)
arcSelected
in interface GraphListener
ge
- il descrittore dell'eventopublic void nodeSelected(GraphEvent ge)
nodeSelected
in interface GraphListener
ge
- il descrittore dell'eventopublic void zoomed(GraphEvent ge)
zoomed
in interface GraphListener
ge
- il descrittore dell'eventopublic void moved(GraphEvent ge)
moved
in interface GraphListener
ge
- il descrittore dell'eventopublic void changed(GraphEvent ge)
changed
in interface GraphListener
ge
- il descrittore dell'eventopublic void set(GraphEvent ge)
set
in interface GraphListener
ge
- il descrittore dell'eventopublic void mouseClicked(java.awt.event.MouseEvent e)
mouseClicked
in interface java.awt.event.MouseListener
e
- l'evento gestitovoid doOperation(java.awt.event.MouseEvent e)
e
- l'evento gestitopublic void mouseEntered(java.awt.event.MouseEvent e)
mouseEntered
in interface java.awt.event.MouseListener
e
- l'evento gestitopublic void mouseExited(java.awt.event.MouseEvent e)
mouseExited
in interface java.awt.event.MouseListener
e
- l'evento gestitopublic void mousePressed(java.awt.event.MouseEvent e)
mousePressed
in interface java.awt.event.MouseListener
e
- l'evento gestitopublic void mouseReleased(java.awt.event.MouseEvent e)
mouseReleased
in interface java.awt.event.MouseListener
e
- l'evento gestitopublic void mouseDragged(java.awt.event.MouseEvent e)
mouseDragged
in interface java.awt.event.MouseMotionListener
e
- l'evento gestitopublic void mouseMoved(java.awt.event.MouseEvent e)
mouseMoved
in interface java.awt.event.MouseMotionListener
e
- l'evento gestitopublic static void main(java.lang.String[] a)
a
- gli argomenti della chiamata