public class GraphEditor extends java.awt.Frame implements java.awt.event.ActionListener, java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.io.FilenameFilter, ImageReader, GraphListener
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) GraphPanel |
gp
il GraphPanel interno all'editor
|
(package private) static int |
IMAGE |
(package private) static int |
IMAGE1 |
(package private) java.awt.Panel |
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) java.awt.MenuItem |
mnAdd |
(package private) java.awt.MenuItem |
mnAdd1 |
(package private) java.awt.MenuItem |
mnBackground |
(package private) java.awt.MenuItem |
mnClearBackground |
(package private) java.awt.Menu |
mnCol
le voci del menu' principale
|
(package private) java.awt.MenuItem |
mnColBlack |
(package private) java.awt.MenuItem |
mnColBlue |
(package private) java.awt.MenuItem |
mnColGreen |
(package private) java.awt.MenuItem |
mnColPick |
(package private) java.awt.MenuItem |
mnColRed |
(package private) java.awt.MenuItem |
mnColSet |
(package private) java.awt.MenuItem |
mnColSpec |
(package private) java.awt.Menu |
mnDefault
le voci del menu' principale
|
(package private) java.awt.Menu |
mnEdit
le voci del menu' principale
|
(package private) java.awt.MenuItem |
mnExit
le sottovoci del menu'
|
(package private) java.awt.Menu |
mnFile
le voci del menu' principale
|
(package private) java.awt.Menu |
mnHelp
le voci del menu' principale
|
(package private) java.awt.MenuItem |
mnImage |
(package private) java.awt.MenuItem |
mnImage1 |
(package private) java.awt.MenuItem |
mnInfo |
(package private) java.awt.MenuItem |
mnLink |
(package private) java.awt.MenuItem |
mnLink1 |
(package private) java.awt.MenuItem |
mnMat
le sottovoci del menu'
|
(package private) java.awt.MenuItem |
mnMatAs
le sottovoci del menu'
|
(package private) java.awt.MenuItem |
mnMerge
le sottovoci del menu'
|
(package private) java.awt.MenuItem |
mnMinL |
(package private) java.awt.MenuItem |
mnMinL1 |
(package private) java.awt.MenuItem |
mnMinP |
(package private) java.awt.MenuItem |
mnMinP1 |
(package private) java.awt.MenuItem |
mnName |
(package private) java.awt.Menu |
mnNameVal
le voci del menu' principale
|
(package private) java.awt.MenuItem |
mnNew
le sottovoci del menu'
|
(package private) java.awt.MenuItem |
mnOpen
le sottovoci del menu'
|
(package private) java.awt.MenuItem |
mnPath |
(package private) java.awt.Menu |
mnPoint
le voci del menu' principale
|
(package private) java.awt.MenuItem |
mnPrint
le sottovoci del menu'
|
(package private) java.awt.MenuItem |
mnRem |
(package private) java.awt.MenuItem |
mnRem1 |
(package private) java.awt.MenuItem |
mnRen |
(package private) java.awt.MenuItem |
mnRen1 |
(package private) java.awt.MenuItem |
mnReset |
(package private) java.awt.MenuItem |
mnReshape |
(package private) java.awt.MenuItem |
mnReshape1 |
(package private) java.awt.MenuItem |
mnResize |
(package private) java.awt.MenuItem |
mnResize1 |
(package private) java.awt.MenuItem |
mnSave
le sottovoci del menu'
|
(package private) java.awt.MenuItem |
mnSaveAs
le sottovoci del menu'
|
(package private) java.awt.MenuItem |
mnSaveImage
le sottovoci del menu'
|
(package private) java.awt.Menu |
mnSearch
le voci del menu' principale
|
(package private) java.awt.MenuItem |
mnSetFill |
(package private) java.awt.MenuItem |
mnSetFill1 |
(package private) java.awt.MenuItem |
mnShowLabel |
(package private) java.awt.MenuItem |
mnShowWeight |
(package private) java.awt.MenuItem |
mnUnlink |
(package private) java.awt.MenuItem |
mnUnlink1 |
(package private) java.awt.Menu |
mnView
le voci del menu' principale
|
(package private) java.awt.MenuItem |
mnWeight |
(package private) java.awt.MenuItem |
mnWeight1 |
(package private) java.awt.Menu |
mnWeightVal
le voci del menu' principale
|
(package private) java.awt.Menu |
mnZoom
le voci del menu' principale
|
(package private) java.awt.MenuItem |
mnZoomIn |
(package private) java.awt.MenuItem |
mnZoomOut |
(package private) java.awt.MenuItem |
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) java.awt.Label |
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) java.awt.Label |
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 |
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
Constructor and Description |
---|
GraphEditor()
Crea un GraphEditor
|
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
|
addNotify, getAccessibleContext, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, paramString, remove, removeNotify, setBackground, setCursor, setExtendedState, setIconImage, 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, processWindowEvent, 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, addImpl, 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, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, setLayout, transferFocusDownCycle, update, 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, getGraphics, 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, 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
GraphPanel gp
java.awt.Panel inputZone
java.awt.Label status
java.awt.Label prompts
boolean modified
java.lang.String filename
java.lang.String dirname
java.awt.Menu mnFile
java.awt.Menu mnEdit
java.awt.Menu mnView
java.awt.Menu mnSearch
java.awt.Menu mnCol
java.awt.Menu mnDefault
java.awt.Menu mnZoom
java.awt.Menu mnPoint
java.awt.Menu mnNameVal
java.awt.Menu mnWeightVal
java.awt.Menu mnHelp
java.awt.MenuItem mnNew
java.awt.MenuItem mnSave
java.awt.MenuItem mnMat
java.awt.MenuItem mnSaveAs
java.awt.MenuItem mnMatAs
java.awt.MenuItem mnSaveImage
java.awt.MenuItem mnOpen
java.awt.MenuItem mnMerge
java.awt.MenuItem mnPrint
java.awt.MenuItem mnExit
java.awt.MenuItem mnAdd
java.awt.MenuItem mnLink
java.awt.MenuItem mnRem
java.awt.MenuItem mnUnlink
java.awt.MenuItem mnResize
java.awt.MenuItem mnImage
java.awt.MenuItem mnMinL
java.awt.MenuItem mnMinP
java.awt.MenuItem mnPath
java.awt.MenuItem mnRen
java.awt.MenuItem mnReshape
java.awt.MenuItem mnSetFill
java.awt.MenuItem mnAdd1
java.awt.MenuItem mnLink1
java.awt.MenuItem mnRem1
java.awt.MenuItem mnUnlink1
java.awt.MenuItem mnResize1
java.awt.MenuItem mnImage1
java.awt.MenuItem mnMinL1
java.awt.MenuItem mnMinP1
java.awt.MenuItem mnRen1
java.awt.MenuItem mnColSet
java.awt.MenuItem mnWeight1
java.awt.MenuItem mnReshape1
java.awt.MenuItem mnSetFill1
java.awt.MenuItem mnColRed
java.awt.MenuItem mnColBlack
java.awt.MenuItem mnColGreen
java.awt.MenuItem mnColBlue
java.awt.MenuItem mnColSpec
java.awt.MenuItem mnColPick
java.awt.MenuItem mnName
java.awt.MenuItem mnWeight
java.awt.MenuItem mnZoomIn
java.awt.MenuItem mnZoomOut
java.awt.MenuItem mnZoomSet
java.awt.MenuItem mnBackground
java.awt.MenuItem mnClearBackground
java.awt.MenuItem mnShowWeight
java.awt.MenuItem mnShowLabel
java.awt.MenuItem mnReset
java.awt.MenuItem 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