com.ontimize.util.swing.table
Class PivotTableUtils.PivotPanel
java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
com.ontimize.util.swing.table.PivotTableUtils.PivotPanel
- All Implemented Interfaces:
- javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable
- Enclosing class:
- PivotTableUtils
- public static class PivotTableUtils.PivotPanel
- extends javax.swing.JPanel
- See Also:
- Serialized Form
| 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 |
| 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 |
|
Method Summary |
void |
addButton(javax.swing.AbstractButton button)
|
protected void |
clearTable()
|
protected static int |
columnIndex(javax.swing.table.TableModel model,
java.lang.String col)
|
protected static int[] |
columnIndex(javax.swing.table.TableModel model,
java.lang.String[] col)
|
protected void |
configure(javax.swing.JComboBox c)
|
protected void |
configure(javax.swing.JComboBox[] r)
|
protected void |
configureDataField()
|
protected void |
configureDateGroup()
|
protected void |
configureExportExcelButton()
|
protected void |
configureOperations()
|
protected void |
configurePageButton()
|
protected void |
configurePreviewButton()
|
protected void |
configurePrintButton()
|
protected void |
configureTable()
|
static javax.swing.table.TableModel |
create(javax.swing.table.TableModel orig,
java.lang.String[] rows,
java.lang.String column,
java.lang.String dataColumn,
int operation,
int dategroup)
|
static javax.swing.table.TableModel |
create(javax.swing.table.TableModel orig,
java.lang.String[] rows,
java.lang.String column,
java.lang.String dataColumn,
int operation,
int dategroup,
java.util.Hashtable comparators)
|
javax.swing.JPanel |
getButtonPanel()
|
java.lang.String |
getDataString()
|
protected java.util.Hashtable |
getDetailWindowParameters()
|
protected static java.util.ArrayList |
getItems(javax.swing.table.TableModel model,
java.lang.String[] columns,
java.util.Comparator[] comparators)
|
protected static java.util.ArrayList |
getItems(javax.swing.table.TableModel model,
java.lang.String column,
java.util.Comparator currentComparator)
|
javax.swing.table.TableModel |
getModel()
|
java.util.Hashtable |
getSelectedColumn()
|
java.util.ArrayList |
getSelectedColumnFields()
|
java.util.ArrayList |
getSelectedDataFields()
|
java.lang.String |
getSelectedDateGroup()
|
java.lang.String |
getSelectedOperation()
|
java.util.ArrayList |
getSelectedRowFields()
|
javax.swing.JPanel |
getTopPanel()
|
EntityResult |
getValueToExport()
|
protected void |
init()
|
protected void |
installDetailMouseListener()
|
void |
setModel(javax.swing.table.TableModel model)
|
void |
setModel(javax.swing.table.TableModel model,
boolean configureCombos)
|
void |
setSelectedColumn(java.util.Hashtable h)
|
protected void |
showDetailPivotTableWindow(javax.swing.table.TableModel model,
java.util.Hashtable information)
|
protected void |
updateTable()
|
protected void |
updateTableOperation()
|
| 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 |
NUMBER_CROW_FIELD
protected int NUMBER_CROW_FIELD
model
protected javax.swing.table.TableModel model
resources
protected java.util.ResourceBundle resources
table
protected javax.swing.JTable table
headerRenderer
protected PivotTableUtils.HeaderRenderer headerRenderer
topPanel
protected javax.swing.JPanel topPanel
buttonPanel
protected javax.swing.JPanel buttonPanel
columnPanel
protected javax.swing.JPanel columnPanel
leftPanel
protected javax.swing.JPanel leftPanel
printButton
protected javax.swing.JButton printButton
ppButton
protected javax.swing.JButton ppButton
pageButton
protected javax.swing.JButton pageButton
exportExcelButton
protected javax.swing.JButton exportExcelButton
arrayCrowField
protected javax.swing.JComboBox[] arrayCrowField
crowField
protected javax.swing.JComboBox crowField
- Deprecated. All combos are inside of arrayCrowField variable
crowField2
protected javax.swing.JComboBox crowField2
- Deprecated. All combos are inside of arrayCrowField variable
crowField3
protected javax.swing.JComboBox crowField3
- Deprecated. All combos are inside of arrayCrowField variable
ccolumnField
protected javax.swing.JComboBox ccolumnField
cdataField
protected javax.swing.JComboBox cdataField
cdategroup
protected javax.swing.JComboBox cdategroup
coperation
protected javax.swing.JComboBox coperation
pTable
protected TableUtils.PrintableTable pTable
selectedColumn
protected java.util.Hashtable selectedColumn
parameters
protected java.util.Hashtable parameters
dDetailPivot
protected EJDialog dDetailPivot
comparator
protected static PivotTableUtils.PivotPanel.NullComparator comparator
PivotTableUtils.PivotPanel
public PivotTableUtils.PivotPanel(javax.swing.table.TableModel model,
java.util.ResourceBundle res)
PivotTableUtils.PivotPanel
public PivotTableUtils.PivotPanel(javax.swing.table.TableModel model,
java.util.ResourceBundle res,
java.util.Hashtable parameters)
setModel
public void setModel(javax.swing.table.TableModel model,
boolean configureCombos)
setModel
public void setModel(javax.swing.table.TableModel model)
getModel
public javax.swing.table.TableModel getModel()
getTopPanel
public javax.swing.JPanel getTopPanel()
getButtonPanel
public javax.swing.JPanel getButtonPanel()
init
protected void init()
getValueToExport
public EntityResult getValueToExport()
getDataString
public java.lang.String getDataString()
configurePrintButton
protected void configurePrintButton()
configurePreviewButton
protected void configurePreviewButton()
configurePageButton
protected void configurePageButton()
configureExportExcelButton
protected void configureExportExcelButton()
configureTable
protected void configureTable()
installDetailMouseListener
protected void installDetailMouseListener()
showDetailPivotTableWindow
protected void showDetailPivotTableWindow(javax.swing.table.TableModel model,
java.util.Hashtable information)
getDetailWindowParameters
protected java.util.Hashtable getDetailWindowParameters()
configureDataField
protected void configureDataField()
configureOperations
protected void configureOperations()
configureDateGroup
protected void configureDateGroup()
addButton
public void addButton(javax.swing.AbstractButton button)
getSelectedColumn
public java.util.Hashtable getSelectedColumn()
setSelectedColumn
public void setSelectedColumn(java.util.Hashtable h)
configure
protected void configure(javax.swing.JComboBox[] r)
configure
protected void configure(javax.swing.JComboBox c)
updateTableOperation
protected void updateTableOperation()
updateTable
protected void updateTable()
create
public static javax.swing.table.TableModel create(javax.swing.table.TableModel orig,
java.lang.String[] rows,
java.lang.String column,
java.lang.String dataColumn,
int operation,
int dategroup)
create
public static javax.swing.table.TableModel create(javax.swing.table.TableModel orig,
java.lang.String[] rows,
java.lang.String column,
java.lang.String dataColumn,
int operation,
int dategroup,
java.util.Hashtable comparators)
getItems
protected static java.util.ArrayList getItems(javax.swing.table.TableModel model,
java.lang.String column,
java.util.Comparator currentComparator)
getItems
protected static java.util.ArrayList getItems(javax.swing.table.TableModel model,
java.lang.String[] columns,
java.util.Comparator[] comparators)
columnIndex
protected static int columnIndex(javax.swing.table.TableModel model,
java.lang.String col)
columnIndex
protected static int[] columnIndex(javax.swing.table.TableModel model,
java.lang.String[] col)
clearTable
protected void clearTable()
getSelectedRowFields
public java.util.ArrayList getSelectedRowFields()
getSelectedColumnFields
public java.util.ArrayList getSelectedColumnFields()
getSelectedDataFields
public java.util.ArrayList getSelectedDataFields()
getSelectedOperation
public java.lang.String getSelectedOperation()
getSelectedDateGroup
public java.lang.String getSelectedDateGroup()