|
|||||||||||
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
javax.swing.JPanel
SOMA.gui.Pannello
SOMA.gui.PanPlace
Nested Class Summary |
Nested classes inherited from class javax.swing.JPanel |
javax.swing.JPanel.AccessibleJPanel |
Nested classes inherited from class javax.swing.JComponent |
javax.swing.JComponent.AccessibleJComponent |
Nested classes inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
Nested classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
Field Summary | |
protected ActionPlaceInterface |
actionPlace
|
protected Anagrafe |
anagrafe
|
protected javax.swing.JComboBox |
comboDom
|
protected javax.swing.JComboBox |
comboPla
|
static int |
INPUT_DOMINIO
Costanti per il costruttore. |
static int |
INPUT_PLACE
|
protected int |
inputChe
Oggetti passati al costruttore del pannello. |
protected javax.swing.JLabel |
labDom
Oggetti che mostrano frasi, coič che dipendono dalla lingua. |
protected javax.swing.JLabel |
labPla
Oggetti che mostrano frasi, coič che dipendono dalla lingua. |
protected javax.swing.event.EventListenerList |
listenerList
Lista contenente tutti gli oggetti che si sono "registrati" per ascoltare un cambiamento di contenuto del pannello! |
protected PlaceID |
placeID
|
Fields inherited from class javax.swing.JComponent |
accessibleContext, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Container |
|
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 | |
|
PanPlace(int inputChe,
ActionPlaceInterface actionPlace)
Costruisco un pannello place i cui campi sono inizializzati coi dati del place relativo all'oggetto ActionPlace passato e a esso verranno richiesti i dati con cui riempire i combo-box. |
|
PanPlace(int inputChe,
Anagrafe anagrafe)
Costruisco un pannello place non inizializzato (tutti i campi saranno vuoti). |
protected |
PanPlace(int inputChe,
Anagrafe anagrafe,
ActionPlaceInterface actionPlace,
PlaceID placeID)
|
|
PanPlace(int inputChe,
Anagrafe anagrafe,
PlaceID placeID)
Costruttore analogo al precedente, ma permette di stabilire il Place Iniziale. |
Method Summary | |
void |
abilitami()
Riabilitazione gli elementi contenuti nel pannello (dopo una "disabilitami"). |
void |
addPanPlaceListener(PanPlaceListener cheListener)
Ci si registra come LISTENER dell'oggetto PanPlace. |
PlaceID |
cheDominio()
Rende il PlaceID del dominio contenuto nel "combobox" del "dominio"
Non č il PlaceID della coppia "dominio+place" ma solo quello relativo alla parte "dominio". |
PlaceID |
chePlace()
Rende il PlaceID del place contenuto nella coppia di "combobox".
|
void |
costruisciPannello()
Costruzione del pannello |
void |
defDominio(PlaceID placeID)
Imposta il "combobox" del dominio al dominio indicato dal PlaceID passato.
|
void |
defPlace(PlaceID placeID)
Imposta il "combobox" del place-nel-dominio al place indicato dal PlaceID passato.
|
void |
disabilitami()
Disabilita gli elementi contenuti nel pannello. |
protected void |
firePanPlaceCambiato()
Metodo INTERNO, usato per notificare a tutti i listener (che si sono registrati con "addPanPlaceListener") che č avvenuto un evento di cambiamento del pannello. |
protected void |
impostaFrasi()
Definisce/modifica tutte le frasi mostrate a video (nella GUI). |
void |
removePanPlaceListener(PanPlaceListener cheListener)
Funzione inversa di "addPanPlaceListener"; serve per annullare una precedente registrazione di un Listener. |
protected void |
RiempiComboPlace(PlaceID inCheDominio)
Riempie il "combobox" relativo al "place nel dominio" con l'elenco di tutti i place contenuti nel dominio passato come parametro. |
Methods inherited from class SOMA.gui.Pannello |
distruggimi, FineCostruisciPannello, FineImpostaFrasi, linguaCambiata |
Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
Methods inherited from class javax.swing.JComponent |
addAncestorListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFont, setForeground, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update |
Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, addImpl, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree |
Methods inherited from class java.awt.Component |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int INPUT_DOMINIO
public static final int INPUT_PLACE
protected javax.swing.JLabel labDom
protected javax.swing.JLabel labPla
protected javax.swing.JComboBox comboDom
protected javax.swing.JComboBox comboPla
protected int inputChe
protected ActionPlaceInterface actionPlace
protected Anagrafe anagrafe
protected PlaceID placeID
protected javax.swing.event.EventListenerList listenerList
Constructor Detail |
public PanPlace(int inputChe, Anagrafe anagrafe)
public PanPlace(int inputChe, Anagrafe anagrafe, PlaceID placeID)
public PanPlace(int inputChe, ActionPlaceInterface actionPlace)
protected PanPlace(int inputChe, Anagrafe anagrafe, ActionPlaceInterface actionPlace, PlaceID placeID)
Method Detail |
public void costruisciPannello()
costruisciPannello
in class Pannello
protected void impostaFrasi()
impostaFrasi
in class Pannello
public void disabilitami()
disabilitami
in class Pannello
public void abilitami()
abilitami
in class Pannello
public void addPanPlaceListener(PanPlaceListener cheListener)
public void removePanPlaceListener(PanPlaceListener cheListener)
protected void firePanPlaceCambiato()
protected void RiempiComboPlace(PlaceID inCheDominio)
public PlaceID cheDominio()
PlaceID
del dominio contenuto nel "combobox" del "dominio"
Non č il PlaceID della coppia "dominio+place" ma solo quello relativo alla parte "dominio".
public void defDominio(PlaceID placeID)
PlaceID
passato.
Se si sta inserendo un place, verrą impostato il "combobox" del place sul place di default.
public PlaceID chePlace()
PlaceID
del place contenuto nella coppia di "combobox".
Viene reso il PlaceID della coppia "dominio+place".
Se si č stabilito "INPUT_DOMINIO" al costruttore, l'unico PlaceID che puņ rendere questo
metodo č quello relativo al place di default del solo dominio selezionato sul combo-box.
public void defPlace(PlaceID placeID)
PlaceID
passato.
Se si č stabilito "INPUT_DOMINIO" al costruttore, l'unico PlaceID che puņ essere impostato č
quello del place di default.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |