|
||||||||||
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
ssbm.presentation.gui.GestioneElencoMovimentazioni
public class GestioneElencoMovimentazioni
Questa classe rappresenta la schermata contenente il form per la visualizzazione e l’eliminazione delle movimentazioni relative ad un periodo di tempo.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JPanel |
---|
javax.swing.JPanel.AccessibleJPanel |
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
javax.swing.JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Container |
---|
java.awt.Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
Field Summary | |
---|---|
private javax.swing.JButton |
carica
|
private int |
CODICE_FORM
|
private static java.lang.String |
DATE_FORMAT
|
private static java.text.DateFormat |
DATE_FORMATTER
|
private javax.swing.JButton |
elimina
|
private static java.text.NumberFormat |
INCOMING_NUMBER_FORMATTER
|
private javax.swing.JLabel |
lbl_data_fine
|
private javax.swing.JLabel |
lbl_data_inizio
|
private javax.swing.JLabel |
lbl_intestazione
|
private java.util.ArrayList<java.lang.String> |
lista_id
|
private MovimentazioniTableModel |
movimentazioni
|
private java.lang.String |
natura
|
private javax.swing.JPanel |
pnl_carica_elenco
|
private com.toedter.calendar.JDateChooser |
scegli_data_fine
|
private com.toedter.calendar.JDateChooser |
scegli_data_inizio
|
private javax.swing.JScrollPane |
scrol_movimentazioni
|
private static long |
serialVersionUID
|
private javax.swing.JTable |
tbl_movimentazioni
|
private static java.lang.String |
USERNAME_PROP_NAME
|
Fields inherited from class javax.swing.JComponent |
---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, 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 | |
---|---|
GestioneElencoMovimentazioni(int codice_form)
Costruisce il form identificato dal codice numerico passato come parametro. |
Method Summary | |
---|---|
void |
deleteSelectedRows()
Rimuove le righe selezionate. |
private javax.swing.JButton |
getCarica()
|
int |
getFormCode()
Restituisce il codice numerico che identifica il form. |
private javax.swing.JLabel |
getLbl_data_fine()
|
private javax.swing.JLabel |
getLbl_data_inizio()
|
DataContainer |
getParameters()
Recupera i parametri di ricerca inseriti negli appositi campi del form. |
private javax.swing.JPanel |
getPnl_carica_elenco()
|
private com.toedter.calendar.JDateChooser |
getScegli_data_fine()
|
private com.toedter.calendar.JDateChooser |
getScegli_data_inizio()
|
DataContainersList |
getTableData()
Recupera i dati riportati nella tabella di un form. |
private void |
initGUI()
|
void |
loadTable(DataContainersList data)
Imposta il contenuto di una tabella. |
private void |
setForm()
|
Methods inherited from class javax.swing.JPanel |
---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
Methods inherited from class javax.swing.JComponent |
---|
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, 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, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, 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, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, 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, firePropertyChange, 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, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, 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 |
---|
private static final long serialVersionUID
private javax.swing.JLabel lbl_intestazione
private javax.swing.JScrollPane scrol_movimentazioni
private javax.swing.JTable tbl_movimentazioni
private javax.swing.JButton elimina
private MovimentazioniTableModel movimentazioni
private java.util.ArrayList<java.lang.String> lista_id
private java.lang.String natura
private javax.swing.JPanel pnl_carica_elenco
private javax.swing.JButton carica
private javax.swing.JLabel lbl_data_fine
private javax.swing.JLabel lbl_data_inizio
private com.toedter.calendar.JDateChooser scegli_data_fine
private com.toedter.calendar.JDateChooser scegli_data_inizio
private int CODICE_FORM
private static final java.lang.String USERNAME_PROP_NAME
private static final java.lang.String DATE_FORMAT
private static final java.text.DateFormat DATE_FORMATTER
private static final java.text.NumberFormat INCOMING_NUMBER_FORMATTER
Constructor Detail |
---|
public GestioneElencoMovimentazioni(int codice_form) throws java.lang.IllegalArgumentException
codice_form
- uno dei seguenti codici numerici:
java.lang.IllegalArgumentException
- se codiceForm č un numero diverso da quelli elencati.Method Detail |
---|
private void initGUI()
public int getFormCode()
Form
getFormCode
in interface Form
GUIConstants.FormCode
private void setForm()
private com.toedter.calendar.JDateChooser getScegli_data_inizio()
private com.toedter.calendar.JDateChooser getScegli_data_fine()
private javax.swing.JLabel getLbl_data_inizio()
private javax.swing.JLabel getLbl_data_fine()
private javax.swing.JButton getCarica()
private javax.swing.JPanel getPnl_carica_elenco()
public DataContainer getParameters()
Searchable
getParameters
in interface Searchable
public void deleteSelectedRows()
EditableTable
deleteSelectedRows
in interface EditableTable
public void loadTable(DataContainersList data) throws java.text.ParseException
EditableTable
loadTable
in interface EditableTable
data
- l'esemplare di DataContainersList contenente i dati
con i quali popolare la tabella.
java.text.ParseException
- se il contenuto di una cella non rispetta il formato stabilito.public DataContainersList getTableData()
GettableTable
getTableData
in interface GettableTable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |