|
Ontimize 5.2072EN | |||||||||
| 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
com.ontimize.gui.table.Table
The Table is used to display regular two-dimensional tables of
cells.
The Table has many facilities that make it possible to customize
its rendering and editing but provides defaults for these features so that
simple tables can be set up easily. For example, there are default renderers
for the most common data types such as Date, Timestamp, Integer, Double,
Float, String, Boolean.
The Table can be added to a Form
element by using the default XML label Table. The structure is as follows:
<Table {attribute=value} />
The attributes allowed can be found in methods:
-init(Hashtable params) where params contains the xml attributes.
-configureButtons(Hashtable params) where all table button icons are configured.
-SortTableCellRenderer.init(Hashtable params) where are additional configurations for table header.
-configureQuickFilter(Hashtable params) where are additional configurations for table quickfilter search box.
-When table is autoinsertable (inserttable='yes') there are additional parameters in configureInsertTable(Hashtable params)
| Nested Class Summary | |
protected static class |
Table.ComponentsPermissionsStore
Class that stores all the permissions for all the table components |
static class |
Table.DefaultRendererManager
The default implementation of the #RendererManager. |
protected class |
Table.DeleteItemListener
Class that implement an action listener that deletes the selected report. |
static interface |
Table.EditorManager
An interface that provides access to #TableCellEditor. |
protected static class |
Table.FilterDate
|
protected class |
Table.HTMLFileFilter
Class that determines a filter in order to retrieve only html/htm files. |
protected class |
Table.InfoFilterButtonsModelListener
Listener that manager the control buttons visibility. |
static class |
Table.KeyObject
|
protected class |
Table.ListenerItem
Class that implement an action listener that shows the custom report window with the selected report. |
protected class |
Table.ListenerItemDeletePrefPivotTable
The listener that deletes a concrete pivot table configuration. |
protected class |
Table.ListenerItemPrefPivotTable
The listener that loads a concrete pivot table configuration. |
protected class |
Table.PreferenceItem
The class that has all the pivot table management GUI |
static class |
Table.QuickFieldText
|
protected static class |
Table.QuickFilterActionListener
|
protected class |
Table.RefreshThread
The thread that refreshes the table. |
static interface |
Table.RendererManager
An interface that provides access to #TableCellRenderer. |
protected static class |
Table.TxtFileFilter
Class that determines a filter in order to retrieve only txt files. |
| 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 Table.InfoFilterButtonsModelListener |
actButtonsModelListener
|
protected boolean |
activatedFilter
|
protected java.util.Vector |
addButtons
|
protected java.util.Vector |
addComponents
|
protected java.awt.event.ActionListener |
addRecordListener
Defines a listener that opens the table detail form in inserting mode, in order to insert new records to the table. |
protected boolean |
allowDelete
|
protected boolean |
allowOpenInNewWindow
|
protected boolean |
allowSetupVisibleColumns
|
protected java.util.Vector |
attributes
Contains the columns and keys names |
protected java.util.Vector |
attributesToFix
|
protected TableAttribute |
attributeTable
Deprecated. |
static java.lang.String |
AUTO_ADJUST_HEADER
Attribute name allowed in the XML. |
protected boolean |
autoFixHead
|
static java.lang.String |
AVERAGE_es_ES
Operation column type |
static java.lang.String |
BACKGROUND_FORM_BUILDER
Attribute name allowed in the XML |
boolean |
backgroundDetailFormBuilder
|
static int |
BAR
Field number for charting indicating the chart type. |
static int |
BAR_3D
Field number for charting indicating the chart type. |
protected boolean |
borderbuttons
|
static java.lang.String |
BUTTON_CALCULATED_COL
Button key |
static java.lang.String |
BUTTON_CHANGEVIEW
Button key |
static java.lang.String |
BUTTON_CHART
Button key |
static java.lang.String |
BUTTON_COPY
Button key |
static java.lang.String |
BUTTON_DEFAULT_CHART
Button key |
static java.lang.String |
BUTTON_DELETE
Button key |
static java.lang.String |
BUTTON_EXCEL_EXPORT
Button key |
static java.lang.String |
BUTTON_HTML_EXPORT
Button key |
static java.lang.String |
BUTTON_PIVOTTABLE
|
static java.lang.String |
BUTTON_PLUS
Button key |
static java.lang.String |
BUTTON_PRINTING
Button key |
static java.lang.String |
BUTTON_REFRESH
Button key |
static java.lang.String |
BUTTON_REPORT
Button key |
static java.lang.String |
BUTTON_SAVE_FILTER_ORDER_SETUP
Button key |
static java.lang.String |
BUTTON_SUM_ROW_SETUP
Button key |
static java.lang.String |
BUTTON_VISIBLE_COLS_SETUP
Button key |
protected javax.swing.JButton |
buttonCalculatedColumns
|
protected javax.swing.JButton |
buttonChangeView
Table button. |
protected javax.swing.JButton |
buttonChart
Table button. |
protected javax.swing.JButton |
buttonCopy
Table button. |
protected TableButtonSelection |
buttonDefaultChart
Table button. |
protected javax.swing.JButton |
buttonDelete
Table button. |
protected javax.swing.JButton |
buttonExcelExport
Table button. |
protected javax.swing.JButton |
buttonHTMLExport
Table button. |
protected java.util.Hashtable |
buttonIcons
|
protected TableButton |
buttonPivotTable
|
protected javax.swing.JButton |
buttonPlus
Table button. |
protected javax.swing.JButton |
buttonPlus2
Table button. |
protected javax.swing.JButton |
buttonPrint
Table button. |
protected javax.swing.JButton |
buttonRefresh
Table button. |
protected TableButtonSelection |
buttonReports
|
protected javax.swing.JButton |
buttonSaveFilterOrderSetup
|
protected javax.swing.JButton |
buttonSumRowSetup
Table button. |
protected javax.swing.JButton |
buttonVisibleColsSetup
Table button. |
static java.lang.String |
CALCULED_COLS
Attribute name allowed in the XML. |
static java.lang.String |
CALCULED_COLS_REQUIRED_FIELDS
Attribute name allowed in the XML. |
protected java.util.Hashtable |
calculedColumns
|
protected Table.EditorManager |
cellEditorManager
|
protected CellRenderer.CellRendererColorManager |
cellRendererColorManager
|
protected CellRenderer.CellRendererFontManager |
cellRendererFontManager
|
protected Table.RendererManager |
cellRendererManager
|
static boolean |
CHART_ENABLED
Allows the charting functionality |
protected static boolean |
CHART_V1
|
protected java.util.Vector |
chartGraphMenuItems
|
protected ExtendedJPopupMenu |
chartMenu
|
protected IChartUtilities |
chartUtilities
|
static java.lang.String |
CODS
Attribute name allowed in the XML |
protected java.util.Hashtable |
codValues
|
protected int |
colPress
|
static java.lang.String |
COLS
Attribute name allowed in the XML. |
protected java.util.Vector |
columnsToOperate
|
protected java.util.Vector |
columnsToSum
|
protected java.beans.PropertyChangeListener |
columnWidthListener
A property change listener that when the property in the event is named width will set the preferred row height. |
protected int[] |
columnWidthSet
|
static java.lang.String |
CONF_VISIBLE_COLS
Attribute name allowed in the XML. |
static java.lang.String |
CONTINUOUS
|
static java.lang.String |
CONTROLS
Attribute name allowed in the XML. |
static java.lang.String |
CONTROLS_VISIBLE
Attribute name allowed in the XML. |
protected javax.swing.JPanel |
controlsPanel
|
boolean |
controlsVisible
|
static java.lang.String |
COPY_CELL
GUI text |
static java.lang.String |
COPY_CELL_es_ES
GUI text |
static java.lang.String |
COPY_SELECTION
GUI text |
static java.lang.String |
COPY_SELECTION_es_ES
GUI text |
static java.lang.String |
COUNT_es_ES
Operation column type |
static boolean |
createCalculatedButton
|
static java.lang.String |
CURRENCY
Attribute name allowed in the XML. |
protected java.util.Vector |
currencyColumns
|
protected CurrencyCellRenderer |
currencyRenderer
|
static java.lang.String |
CUSTOM_CHARTS
Attribute name allowed in the XML. |
static java.lang.String |
DATABASE_INSERT
Attribute name allowed in the XML. |
static java.lang.String |
DATABASE_REMOVE
Attribute name allowed in the XML. |
protected boolean |
dataBaseInsert
|
protected boolean |
dataBaseRemove
|
static boolean |
DEBUG_MEMORY
Configures the MEMORY trace, to see how much memory is being used by the table. |
static java.lang.String |
DEFAULT_BUTTONS
|
static java.lang.String |
DEFAULT_NEW_WINDOW
Attribute name allowed in the XML. |
static boolean |
DEFAULT_QUICK_FILTER
Allows the user to modify quickfilter functionality |
static boolean |
DEFAULT_RENDER_REPORT_VALUES
|
static boolean |
DEFAULT_VALUE_SET_HEIGHT_HEAD
Deprecated. |
static boolean |
DEFAULT_VALUE_SETUP_VISIBLE_COLS
Allows the user to modify the visible cols |
static java.lang.String |
DEFAULT_VISIBLE_COLS
Attribute name allowed in the XML. |
protected boolean |
defaultButtons
|
protected boolean |
defaultChartsEnabled
|
protected java.lang.Object |
defaultFilter
|
static boolean |
defaultPivotTableVisibility
Allows the user to modify pivot table visibility |
static boolean |
defaultQuickFilterVisible
Allows the user to modify quickfilter visibility |
static boolean |
defaultShowGridValue
|
static java.awt.Color |
defaultTableBackgroundColor
|
static boolean |
defaultTableOpaque
|
protected java.util.Vector |
defaultVisibleColumns
|
static java.lang.String |
DELETE_BUTTON
Attribute name allowed in the XML. |
static java.lang.String |
DELETE_FILTER_COLUMN
GUI text |
static java.lang.String |
DELETE_FILTER_es_ES
GUI text |
static java.lang.String |
DELETE_GROUP_es_ES
GUI text |
protected Table.DeleteItemListener |
deleteListener
|
protected static java.awt.event.ActionListener |
deletePrefPivotTableItemListener
|
protected DetailForm |
detailForm
|
protected DetailFormBuilder |
detailFormBuilder
|
protected java.lang.String |
detailFormTitleKey
|
protected static java.lang.String |
detailKey
GUI text |
protected java.lang.String |
dinamicFormClass
|
static java.lang.String |
DISABLE_INSERT
Attribute name allowed in the XML. |
protected boolean |
disableInsert
Determines whether the insertion using the table is enabled or not. |
static java.lang.String |
DOWN_10
Deprecated. |
static java.lang.String |
DOWN_100
Deprecated. |
static java.lang.String |
DOWN_50
Deprecated. |
static java.lang.String |
DOWN_ALL
Deprecated. |
protected javax.swing.JDialog |
dPivot
|
static java.lang.String |
DYNAMIC
Attribute name allowed in the XML. |
static java.lang.String |
DYNAMIC_FORM
Attribute name allowed in the XML. |
protected DynamicFormManager |
dynamicFormManager
|
protected boolean |
dynamicTable
|
static java.lang.String |
EDITABLE_COLUMNS
Attribute name allowed in the XML. |
protected java.util.Vector |
editableColumns
|
protected java.util.Vector |
editableColumnsUpdateEntity
|
protected java.util.Vector |
editionListeners
|
protected static java.lang.String |
editKey
GUI text |
protected boolean |
enabled
|
protected boolean |
enabledDetail
|
protected FormPermission |
enabledPermission
|
protected java.lang.String |
entity
The table entity |
static java.lang.String |
ENTITY
Attribute name allowed in the XML. |
static int |
EQUAL
Filter operation key |
protected java.awt.event.MouseEvent |
eventPress
|
protected javax.swing.JMenuItem |
filter
|
static java.lang.String |
FILTER_BY_VALUE_es_ES
GUI text |
static java.lang.String |
FILTER_COLUMN_es_ES
GUI text |
static java.lang.String |
FILTER_HEAD_TIP_COD
GUI text |
protected FilterDialog |
filterWindow
|
static java.lang.String |
FIND_MESSAGE
|
static java.lang.String |
FIX_ATTR
Attribute name allowed in the XML. |
static java.lang.String |
FONT_SIZE
Attribute name allowed in the XML. |
protected int |
fontSize
|
static java.lang.String |
FORM
Attribute name allowed in the XML. |
protected FormBuilder |
formBuilder
|
protected java.lang.String |
formName
The detail form name |
static int |
GREATER
Filter operation key |
static int |
GREATER_EQUAL
Filter operation key |
static java.lang.String |
GROUP_COLUMN_BY_DATE_es_ES
GUI text |
static java.lang.String |
GROUP_COLUMN_BY_MONTH
GUI text |
static java.lang.String |
GROUP_COLUMN_BY_QUARTER
GUI text |
static java.lang.String |
GROUP_COLUMN_BY_QUARTER_YEAR
GUI text |
static java.lang.String |
GROUP_COLUMN_BY_YEAR
GUI text |
static java.lang.String |
GROUP_COLUMN_BY_YEAR_MONTH
GUI text |
static java.lang.String |
GROUP_COLUMN_BY_YEAR_MONTH_DAY
GUI text |
static java.lang.String |
GROUP_COLUMN_es_ES
GUI text |
static java.lang.String |
GROUP_FUNCTION
GUI text |
static java.lang.String |
HEAD_TIP_COD
GUI text |
protected java.util.Hashtable |
hOnSetValueSetEquivalences
This object is used to store onsetvalueset attributes and equivalences (for these fields in entity) when structure of parameter onsetvalueset is: "fieldonset1:SUM(fieldentitypk1);fieldonset2:CONCAT(fieldentitypk2);...fieldonsetn:MAX(fieldentitypkn)" |
protected java.util.Hashtable |
hOnSetValueSetFunction
This object is used to store onsetvalueset attributes and function when structure of parameter onsetvalueset is: "fieldonset1:SUM(fieldentitypk1);fieldonset2:CONCAT(fieldentitypk2);...fieldonsetn:MAX(fieldentitypkn)" |
static java.lang.String |
HORIZONTAL_SCROLL
Attribute name allowed in the XML. |
protected java.util.Vector |
hourRenderColumns
|
protected DateCellRenderer |
hourRenderer
|
protected java.util.Hashtable |
hParentkeyEquivalences
|
static java.lang.String |
INSERT_TABLE
Attribute name allowed in the XML. |
protected boolean |
inserting
boolean to know when the insertion is executing |
protected static java.lang.String |
insertKey
GUI text |
protected FormPermission |
insertPermission
|
protected javax.swing.event.EventListenerList |
insertTableInsertRowListenerList
List with all the listeners to the insert event |
protected boolean |
installQuickFilter
|
static java.lang.String |
IT_IS_SHOWED
GUI text |
static java.lang.String |
IT_IS_SHOWED_es_ES
GUI text |
static java.lang.String |
KEY
Attribute name allowed in the XML. |
protected java.lang.String |
keyField
|
protected java.util.Vector |
keyFields
|
static java.lang.String |
KEYS
Attribute name allowed in the XML. |
protected java.awt.BorderLayout |
layout
|
static int |
LESS
Filter operation key |
static int |
LESS_EQUAL
Filter operation key |
static int |
LINE
Field number for charting indicating the chart type. |
protected javax.swing.JLabel |
lInfoFilter
|
protected Table.ListenerItem |
listener
|
protected java.awt.event.MouseListener |
listenerHighlightButtons
|
protected java.awt.event.MouseAdapter |
listMouseListener
|
protected static java.lang.String |
loadDefaultConfigurationKey
|
protected java.util.Locale |
locale
|
protected EntityReferenceLocator |
locator
The reference locator set for this table. |
static java.lang.String |
M_ERROR_PRINTING_TABLE
GUI text |
static java.lang.String |
M_MODIFIED_DATA_CLOSE_AND_LOST_CHANGES
GUI text |
static java.lang.String |
M_PRINTING_CANCELED
GUI text |
static java.lang.String |
M_PRINTING_FINISHED
GUI text |
static java.lang.String |
M_SELECTION_LESS_THAN_5_ROWS
GUI text |
static java.lang.String |
M_SELECTION_ONLY_ONE_ROW_TO_OPEN_DETAIL_FORM
GUI text |
static java.lang.String |
M_WOULD_YOU_LIKE_TO_DELETE_ROWS
GUI text |
static java.lang.String |
M_WOULD_YOU_LIKE_TO_DELETE_THIS_CONFIGURATION_OF_FILTER
GUI text |
static java.lang.String |
MAXIMUM_es_ES
Operation column type |
static java.lang.String |
MEMO_RENDER
Attribute name allowed in the XML. |
protected java.util.Vector |
memoRenderColumns
The table columns that will use memo render |
static java.lang.String |
MEMORY_ENTITY
Attribute name allowed in the XML. |
protected java.lang.String |
memoryEntity
|
protected ExtendedJPopupMenu |
menu
|
protected javax.swing.JMenuItem |
menuAvgFunction
|
protected java.util.Vector |
menuChartItems
|
protected javax.swing.JMenuItem |
menuCopyCell
|
protected javax.swing.JMenuItem |
menuCopySelection
|
protected javax.swing.JMenuItem |
menuCountFunction
|
protected javax.swing.JMenuItem |
menuDefaultOrderSetup
|
protected javax.swing.JMenuItem |
menuDeleteColumnFilter
|
protected javax.swing.JMenuItem |
menuDeleteFilter
|
protected javax.swing.JMenuItem |
menuDeleteGroup
|
protected javax.swing.JMenuItem |
menuDetail
|
protected javax.swing.JMenuItem |
menuFilter
|
protected javax.swing.JMenuItem |
menuFilterByValue
|
protected javax.swing.JMenuItem |
menuGroup
|
protected javax.swing.JMenuItem |
menuGroupByMonth
|
protected javax.swing.JMenuItem |
menuGroupByQuarter
|
protected javax.swing.JMenuItem |
menuGroupByQuarterYear
|
protected javax.swing.JMenuItem |
menuGroupByYear
|
protected javax.swing.JMenuItem |
menuGroupByYearMonth
|
protected javax.swing.JMenu |
menuGroupDate
|
protected javax.swing.JMenu |
menuGroupFunction
|
protected javax.swing.JMenuItem |
menuGroupYearMonthDay
|
protected javax.swing.JMenuItem |
menuInsert
|
protected javax.swing.JMenuItem |
menuMaxFunction
|
protected javax.swing.JMenuItem |
menuMinFunction
|
protected javax.swing.JMenuItem |
menuOpenInNewWindow
|
protected ExtendedJPopupMenu |
menuOrderFilterSetup
|
protected javax.swing.JMenuItem |
menuPageableEnabled
|
protected ExtendedJPopupMenu |
menuPivotTableSetup
|
protected javax.swing.JMenuItem |
menuPrintSelection
|
protected javax.swing.JMenuItem |
menuRefresh
|
protected javax.swing.JPopupMenu |
menuReportSetup
|
protected javax.swing.JMenuItem |
menuResetOrder
|
protected javax.swing.JMenuItem |
menuSave
|
protected javax.swing.JMenuItem |
menuSaveDefaultOrderConfiguration
|
protected javax.swing.JMenuItem |
menuSavePivot
|
protected javax.swing.JCheckBoxMenuItem |
menuShowHideControls
|
protected javax.swing.JMenuItem |
menuSumFunction
|
static int |
MIN_ROW_HEIGHT
The minimum row height default value |
static java.lang.String |
MINIMUM_es_ES
Operation column type |
protected int |
minRowHeight
Minimum row height, by default is MIN_ROW_HEIGHT |
static java.lang.String |
MINROWHEIGHT
|
static java.lang.String |
MODIFIABLE_CALCULATED_COLUMNS
|
protected boolean |
modifiableCalculatedColumns
|
protected boolean |
modified
|
static int |
MONTH
Field number for charting indicating the period type. |
static java.lang.String |
NUM_ROWS_COLUMN
Attribute name allowed in the XML. |
static java.lang.String |
OF
GUI text |
static java.lang.String |
ONSETVALUESET
Attribute name allowed in the XML. |
protected java.util.Vector |
onsetvaluesetAttributes
The vector with attributes to update when data field value changed. |
protected boolean |
opaquebuttons
|
static java.lang.String |
OPEN_NEW_WINDOW
Attribute name allowed in the XML. |
protected boolean |
openInNewWindowByDefault
|
protected static java.lang.String |
openInNewWindowKey
GUI text |
static java.lang.String |
OPERATION_PREFERENCE
Key name to store preferences related to the Table |
protected boolean |
operationInMemory
|
static boolean |
ORDER_COLS_BY_VISIBLE_COLS
Forces the column order to like the visible cols order. |
protected boolean |
orderEnabled
|
protected java.awt.event.ActionListener |
orderFilterSetupDeleteItemsListener
|
protected java.util.Vector |
originalCalculatedColumns
|
protected java.util.Vector |
originalVisibleColumns
|
static java.lang.String |
OTHER_KEYS
Attribute name allowed in the XML. |
protected java.util.Vector |
otherParentKeys
|
protected boolean |
packTable
|
static java.lang.String |
PAGEABLE
GUI text |
protected PageFetcher |
pageFetcher
|
protected java.util.Hashtable |
parameters
The parameters passed to the table when it is builded. |
protected Form |
parentForm
|
protected java.awt.Frame |
parentFrame
|
protected java.lang.String |
parentKey
|
static java.lang.String |
PARENTKEY
Attribute name allowed in the XML. |
protected java.util.List |
parentkeys
List with all the fields in the parent form used to filter the table values |
static boolean |
PERMIT_SAVE_FILTER_ORDER_CONFIGURATION
Allows the user to save the filter configuration |
static int |
PIE
Field number for charting indicating the chart type. |
static int |
PIE_3D
Field number for charting indicating the chart type. |
static java.lang.String |
PIVOT_BUTTON
Attribute name allowed in the XML. |
protected java.awt.event.MouseAdapter |
popupListener
Opens the popup menu (context menu) |
protected int |
preferredSizeInRows
|
protected static java.awt.event.ActionListener |
prefPivotTableItemListener
|
protected boolean |
prefWidthAndPosApply
|
protected java.util.Vector |
primaryKey
|
static java.lang.String |
PRINT_START
GUI text |
static java.lang.String |
PRINTING_SELECTION
GUI text |
static java.lang.String |
PRINTING_SELECTION_es_ES
GUI text |
protected PrintingWindow |
printingWindow
|
static int |
QUARTER
Field number for charting indicating the period type. |
static java.lang.String |
QUERY_ROWS
Attribute name allowed in the XML. |
protected FormPermission |
queryPermission
|
static java.lang.String |
QUICK_FILTER
Attribute name allowed in the XML. |
static java.lang.String |
QUICK_FILTER_LABEL_KEY
|
static java.lang.String |
QUICK_FILTER_PAGEABLE_MESSAGE_KEY
|
static java.lang.String |
QUICK_FILTER_VISIBLE
Attribute name allowed in the XML. |
protected Table.QuickFieldText |
quickFilterText
|
protected boolean |
quickFilterVisible
|
static int |
RANGE
Filter operation key |
protected BooleanCellRenderer |
rBoolean
Default renderer for the table |
protected DateCellRenderer |
rDate
Default renderer for the table |
static java.lang.String |
RECORDS
GUI text |
static java.lang.String |
RECORDS_es_ES
GUI text |
protected java.lang.String |
recordsText
GUI text |
static java.lang.String |
REFRESH
GUI text |
static java.lang.String |
REFRESH_BUTTON
Attribute name allowed in the XML. |
static java.lang.String |
REFRESH_es_ES
GUI text |
protected Table.RefreshThread |
refreshThread
|
static java.lang.String |
rendererEditorConfigurationFile
Complete path to renderer and editor configuration file. |
static boolean |
renderReportValues
|
static java.lang.String |
REPORT_COLS
Attribute name allowed in the XML. |
protected java.util.Vector |
reportCols
|
static java.lang.String |
REQUIRED_COLS
Attribute name allowed in the XML. |
protected java.util.Vector |
requiredColumnsCalculedColumns
|
protected java.awt.event.ActionListener |
reserOrderListener
Defines a listener that in the event restored the sorting applied to the table. |
protected static java.lang.String |
resetOrderKey
GUI text |
protected java.util.ResourceBundle |
resourcesFile
|
protected boolean |
restricted
|
protected HeadCellRenderer |
rHead
Default renderer for the table |
protected ImageCellRenderer |
rImagen
Default renderer for the table |
protected MemoCellRenderer |
rMemo
Default renderer for the table |
protected ObjectCellRenderer |
rObject
Default renderer for the table |
protected int |
rowPress
|
static java.lang.String |
ROWS
Attribute name allowed in the XML. |
protected int |
rowsNumberToQuery
|
protected RealCellRenderer |
rReal
Default renderer for the table |
protected RowHeadCellRenderer |
rRowHead
Default renderer for the table |
protected ReportUtils |
ru
|
static java.lang.String |
SAVE_WIDTH_POSITION_COLUMNS
The key for the preference to store the columns position |
protected static java.lang.String |
saveAsDefaultConfigurationKey
|
protected static java.lang.String |
saveKey
Class that contains a TableButton and a JButton into a JPanel.. |
protected boolean |
scrollHorizontal
|
protected javax.swing.JScrollPane |
scrollPane
|
protected javax.swing.event.ListSelectionListener |
selectionListener
The EJTable ListSelectionListener. |
static java.lang.String |
SELECTIONMODE
|
protected boolean |
setPivotTableButton
|
protected boolean |
setRefreshButton
|
static java.lang.String |
SHOW_HIDE_CONTROLS
GUI text |
static java.lang.String |
SHOW_HIDE_CONTROLS_es_ES
GUI text |
static boolean |
SHOW_OPEN_IN_NEW_WINDOW_MENU
The table opens the detail forms in new windows, instead using dialogs. |
protected boolean |
showControls
|
static java.lang.String |
SHOWGRID
|
protected boolean |
showGridValue
|
protected java.lang.String |
shownText
GUI text |
static java.lang.String |
SINGLE
|
static java.lang.String |
SORT_HEAD_TIP_COD
GUI text |
protected java.awt.event.ActionListener |
sortFilterOrderItemListener
|
static int |
STACKED_3D
Field number for charting indicating the chart type. |
static java.lang.String |
SUM_es_ES
Operation column type |
static java.lang.String |
SUM_ROW
Attribute name allowed in the XML. |
protected SumRowSetupDialog |
sumRowSetupDialog
|
protected javax.swing.JTable |
table
The JTable inside this table |
protected java.awt.Color |
tableBackgroundColor
|
static java.lang.String |
TABLEBGCOLOR
|
protected Table.ComponentsPermissionsStore |
tableComponentPermission
|
protected boolean |
tableOpaque
|
static java.lang.String |
TABLEOPAQUE
|
protected Table |
tAux
|
static java.lang.String |
TIME_RENDER
Attribute name allowed in the XML. |
static java.lang.String |
TIP_CALCULATED_COLUMNS
|
static java.lang.String |
TIP_CHART_MENU
GUI text |
static java.lang.String |
TIP_CHART_MENU_es_ES
GUI text |
static java.lang.String |
TIP_CLIPBOARD_COPY
GUI text |
static java.lang.String |
TIP_CLIPBOARD_COPY_es_ES
GUI text |
static java.lang.String |
TIP_EXCEL_EXPORT
GUI text |
static java.lang.String |
TIP_EXCEL_EXPORT_es_ES
GUI text |
static java.lang.String |
TIP_FILTER_ORDEN_CONF
GUI text |
static java.lang.String |
TIP_HTML_EXPORT
GUI text |
static java.lang.String |
TIP_HTML_EXPORT_es_ES
GUI text |
static java.lang.String |
TIP_INSERT_BUTTON
GUI text |
static java.lang.String |
TIP_INSERT_BUTTON_es_ES
GUI text |
static java.lang.String |
TIP_PIVOT_TABLE
GUI text |
static java.lang.String |
TIP_PIVOT_TABLE_es_ES
GUI text |
static java.lang.String |
TIP_PRINTING
GUI text |
static java.lang.String |
TIP_PRINTING_es_ES
GUI text |
static java.lang.String |
TIP_REPORT_PRINTING
GUI text |
static java.lang.String |
TIP_REPORT_PRINTING_es_ES
GUI text |
static java.lang.String |
TIP_SAVE_FILTER_ORDER_CONFIGURATION_es_ES
GUI text |
static java.lang.String |
TIP_SUMROW_SETUP
GUI text |
static java.lang.String |
TIP_VISIBLES_COLS_SETUP
GUI text |
static java.lang.String |
TIP_VISIBLES_COLS_SETUP_es_ES
GUI text |
protected TipScroll |
tipScroll
The tip configured to the table scroll. |
protected boolean |
tipScrollEnabled
Determines whether the tip scroll is enabled or not. |
static java.lang.String |
TITLE
Attribute name allowed in the XML. |
static java.lang.String |
TOTAL
Deprecated. |
static java.lang.String |
TOTAL_es_ES
GUI text |
protected java.lang.String |
totalText
GUI text |
static java.lang.String |
TRANSLATE_HEADER
Attribute name allowed in the XML. |
protected boolean |
translateHeader
|
static java.lang.String |
UNGROUP_COLUMN_es_ES
GUI text |
static java.lang.String |
UPDATE_ENTITY_EDITABLE_COLUMNS
Attribute name allowed in the XML. |
protected java.lang.String |
userPrefs
|
static java.lang.String |
VISIBLE_COLS
Attribute name allowed in the XML. |
protected com.ontimize.gui.table.VisibleColsSetupDialog |
visibleColsSetupDialog
|
protected java.util.Vector |
visibleColumns
|
protected boolean |
visibleFieldKeyColumn
|
protected FormPermission |
visiblePermission
|
protected boolean |
visibleRowNumberColumn
|
protected java.util.Vector |
vrequiredCols
List with the required columns to insert |
protected java.util.Vector |
vupdateEditableColumns
|
protected TableFrame[] |
windowCache
|
static java.lang.String |
XLS_EXPORT_CLASS
Default class to use in the xls export button |
static int |
YEAR
Field number for charting indicating the period type. |
| 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 com.ontimize.gui.field.DataComponent |
COMP_FOCUS_YELLOW, GREEN_VERY_LIGHT, LIGHT_GRAY_BLUE, LIGHT_GREYISH_BLUE, VERY_LIGHT_BLUE, VERY_LIGHT_GRAY, VERY_LIGHT_PINK, VERY_LIGHT_RED, VERY_LIGHT_SKYBLUE, VERY_LIGHT_YELLOW, VERY_LIGHT_YELLOW_2 |
| Fields inherited from interface com.ontimize.gui.field.FormComponent |
DEBUG |
| Fields inherited from interface com.ontimize.gui.i18n.Internationalization |
DEBUG_LANGUAGE |
| Fields inherited from interface com.ontimize.gui.SecureElement |
DESACTIVATE_COMPONENT_BY_PERMISSION_TIP |
| Fields inherited from interface com.ontimize.gui.SelectCurrencyValues |
EURO, PST |
| Fields inherited from interface com.ontimize.util.templates.ITemplateField |
DATA_TYPE_FIELD, DATA_TYPE_FIELD_ATTR, DATA_TYPE_IMAGE, DATA_TYPE_IMAGE_ATTR, DATA_TYPE_TABLE, DATA_TYPE_TABLE_ATTR, TEMPLATE_DATA_TYPE |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
Table(java.util.Hashtable params)
Constructs a Table with the default configuration. |
|
| Method Summary | |
void |
addButtonToControls(javax.swing.AbstractButton button)
Adds a button to the controls panel |
void |
addButtonToControls(javax.swing.AbstractButton button,
boolean useDefaultConfiguration)
|
void |
addCalculatedColumn(java.lang.String columnName,
java.lang.String expression)
Adds a calculated column to the table. |
void |
addColumn(java.lang.String column)
Adds a column to the table. |
void |
addComponentToControls(javax.swing.JComponent component)
Adds a #JComponent to the controls panel |
void |
addInsertTableInsertRowListener(InsertTableInsertRowListener l)
|
void |
addRow(java.util.Hashtable rowData)
Adds a new row with data |
void |
addRow(int row,
java.util.Hashtable rowData)
Adds a new row with data in a concrete position in the table |
void |
addRows(int[] rows,
java.util.Vector rowsData)
Deprecated. |
void |
addRows(java.util.Vector rowsData)
Adds several rows to the table. |
void |
addTableEditorListener(TableEditorListener listener)
Adds a #TableEditorListener to the table. |
void |
addTableHeaderMouseListener(javax.swing.JTable table)
Adds a default mouse listener to the table header. |
protected void |
addTableHeaderRenderer(javax.swing.JTable table)
Calls the createTableHeaderRenderer(javax.swing.JTable) method and configures the
table header rendering |
void |
addTableRowHeader(TableRowHeader tableRowHeader)
Adds a #TableRowHeader to the table. |
protected void |
applyColumnPositonAndPreferences(java.lang.String preference)
Applies the position and column preferences past as parameter. |
void |
applyFilter(java.util.Hashtable filters)
Applies filters to the current table. |
void |
applyFilter(java.lang.String columnName,
java.lang.Object filter)
Applies a filter to the specified column. |
void |
applyFilter(java.lang.String columnName,
java.lang.Object[] values,
int condition)
Applies a filter to the specified column. |
void |
applyOperations()
Applies the operations stored in the preferences file to the table. |
protected int |
calculatePreferredRowHeights()
Deprecated. |
protected void |
changeButtonIcon(javax.swing.JButton button,
java.lang.String iconpath,
boolean borderButtons,
boolean opaqueButtons,
java.awt.event.MouseListener listenerHighlightButtons)
|
protected void |
changeOpacity(javax.swing.JComponent c,
boolean opaque)
|
protected void |
changeToTableView()
Changes the table representation to the table one. |
void |
changeView()
Changes the table by the detail form. |
protected boolean |
checkBoundRow(int rowIndex)
If the rowIndex is <0 the selection is removed and false is returned. |
protected static void |
checkChartEnabled()
Checks if the charting classes are set into the classpath |
protected boolean |
checkComponentTablePermission(java.lang.Object key,
java.lang.String type)
Checks whether the component with this key |
protected boolean |
checkEnabledPermission()
Checks if the table must be disabled. |
void |
checkInsertingRowValue()
|
protected boolean |
checkInsertPermission()
Checks if the table can perform insertions. |
protected void |
checkNumberColumnVisibility(java.lang.Object value)
|
protected boolean |
checkQueryPermission()
Checks if the table can perform queries. |
protected void |
checkRefreshThread()
Checks the refresh thread to update the GUI while the table update is being performed. |
protected boolean |
checkVisiblePermission()
Checks the component visibility. |
protected void |
configureButtons(java.util.Hashtable params)
This method configure appearance of table buttons: border, opacity, ... |
protected void |
configureCalculatedCols(java.util.List calcColNames,
java.util.List expressions,
boolean savePreferences)
|
void |
configureChart(java.lang.String xLabel,
java.lang.String yLabel,
java.lang.String xColumn,
java.lang.String[] yColumns,
java.lang.String[] series,
java.lang.String descr,
int type)
Configures the chart. |
void |
configureChartXDate(java.lang.String xLabel,
java.lang.String yLabel,
java.lang.String xColumn,
java.lang.String[] yColumns,
java.lang.String[] series,
java.lang.String descr,
int interval)
Configures a chart with dates. |
void |
configureChartXDate(java.lang.String xLabel,
java.lang.String yLabel,
java.lang.String xColumn,
java.lang.String[] yColumns,
java.lang.String[] series,
java.lang.String descr,
int interval,
boolean fillZeros)
Configures a chart with dates. |
protected void |
configureComponentsLocator(java.util.Hashtable components,
EntityReferenceLocator locator)
|
protected void |
configureComponentsParentForm(java.util.Hashtable components,
Form parentForm)
|
protected void |
configureControlButton(javax.swing.AbstractButton button)
|
protected void |
configureFilterOrder(java.awt.event.ActionEvent e)
Method call by the listener of the TableButton that manages the saving of the filter configuration. |
protected void |
configureInsertTable(java.util.Hashtable params)
This method configure parameters for insertable table. |
protected void |
configurePageable(int pageSize)
Configures the pageable table. |
protected void |
configureQuickFilter(java.util.Hashtable params)
This method configure appearance of quickfilter box. |
protected void |
configureRenderEditor(java.util.Hashtable renderer,
java.util.Hashtable editor)
Configure the renderer and editor to the columns |
int |
convertRowIndexToModel(int viewRowIndex)
Maps the index of the row in the view to the index of the row in the table model. |
protected void |
copyCell()
Copies to the clipboard the information contained by the cell over which the mouse right click opened the popup menu. |
protected void |
copySelection()
Copies the selected data in the table GUI to the system clipboard. |
protected void |
createChartUtilities()
|
protected java.lang.String |
createColumnPositionAndWidthPreference()
Creates the preference according to the current table configuration. |
protected void |
createDetailForm()
Creates the detail form for this table. |
protected EJTable |
createEJTable(TableSorter sorter,
java.util.Vector visibleColumns)
|
protected ExtendedTableModel |
createExtendedTableModel()
|
protected void |
createPopupMenu()
Creates and configures the popup menu. |
protected Table.QuickFieldText |
createQuickFilter()
|
protected void |
createReportSetupMenu()
Creates the report setup menu, and sets it to the menuReportSetup variable. |
protected javax.swing.JTable |
createTable()
Creates the JTable contained in the Table |
protected javax.swing.table.TableCellRenderer |
createTableHeaderRenderer(javax.swing.JTable table)
Creates a new TableCellRenderer to use in the table header renderer, by default creates a SortTableCellRenderer |
protected TableSorter |
createTableSorter(ExtendedTableModel model)
Creates a Sorter for TableModels |
void |
deleteCalculatedColumn(java.lang.String column)
Deletes the specified calculated column from the table. |
void |
deleteColumn(java.lang.String column)
Deletes the specified column from the table. |
protected void |
deleteColumnFilter()
Popup menu method. |
void |
deleteData()
Deletes all the data stored in the table. |
protected EntityResult |
deleteEntityRow(int rowIndex)
Deletes from the entity the specified row. |
protected void |
deleteFilter()
Deletes all the filters that are being applied to the table. |
protected void |
deleteGroup()
Returns the grouping for the column over which was pressed the mouse to select the deletion. |
protected void |
deletePivotTableConfiguration(java.lang.String confName)
Deletes the pivot table configuration passed as parameter. |
void |
deleteRow(java.util.Hashtable keysValues)
Deletes the row specified as parameter |
void |
deleteRow(int rowIndex)
Deletes the row specified as parameter |
void |
deleteRow(java.lang.Object key)
Deprecated. |
void |
deleteRows(int[] rowIndex)
Deletes the rows specified as parameter. |
protected void |
detail(java.awt.event.InputEvent event)
Opens the detail form for the rows selected in the view |
protected void |
deteleFilterOrderConfiguration(java.lang.String confName)
Deletes the specified sorting and the filtering preference. |
void |
disableInsert()
Disables the table insert button, '+', even though the table has a detail form. |
void |
enableFiltering(boolean enable)
Enables or disables the filtering functionality. |
void |
enableInsert()
Enables the insert button, '+'. |
void |
enableSort(boolean enable)
Enables or disables the sorting functionality. |
protected void |
evaluateButtonsState()
Enables or disables the table button depending on the table state. |
protected boolean |
evaluateColumnsWidthAndPosition()
Ensures that the setWidthAndPositionColumns() method only is
called once. |
protected void |
evaluatePreferredRowsHeight()
Adjusts the height of all rows to the contents inside them. |
protected void |
executeInsertRow()
|
boolean |
existsSumRow()
Deprecated. |
protected void |
finalize()
Called by the garbage collector on an object when garbage collection determines that there are no more references to the object. |
protected void |
fireEditingCancelled(int rowIndex,
int viewColumnIndex)
Notifies the edition listeners that the edition has been cancel. |
protected void |
fireEditingStopped(java.lang.Object value,
java.lang.Object previousValue,
int rowIndex,
int viewColumnIndex)
Notifies the edition listeners that the edition has been stopped. |
protected void |
fireEditingWillStop(java.lang.Object value,
java.lang.Object previousValue,
int rowIndex,
int viewColumnIndex)
Notifies the edition listeners that the edition will stop. |
void |
fireInsertTableInsertRowChange(InsertTableInsertRowEvent insertTableInsertRowEvent)
|
void |
fitColumnSize(int column)
Sets the preferred size to the specified column. |
void |
free()
Liberates the memory occupied by the table component. |
protected java.util.Hashtable |
getAllColumnEditors()
Creates a Hashtable with all the columns that have an editor. |
protected java.util.Hashtable |
getAllColumnRenderer()
Creates a Hashtable with all the columns that have a renderer. |
java.util.Hashtable |
getAllPrimaryKeys()
Returns all the values for the columns configured as key and keys for the table. |
boolean[] |
getAscendents()
Returns an array with the sorting type of all the sorting columns. |
boolean |
getAscending()
Returns the sorting mode corresponding to the first sorted column |
java.lang.Object |
getAttribute()
Returns the table attribute. |
java.util.Vector |
getAttributeList()
Returns the name of all the table columns. |
java.util.Hashtable |
getAttributesAndKeysData()
Returns all the information in the table for all the attributes, this is, for all the columns in the table. |
protected javax.swing.Icon |
getButtonVisibleColsSetupIcon(boolean renderer)
|
protected java.lang.String |
getCalculatedColsPreferenceStringValue()
|
java.util.Vector |
getCalculatedColumns()
|
protected java.lang.String |
getCalculatedColumnsConfPreferenceKey()
Returns the client preferences key to store the calculated columns configuration. |
java.util.Hashtable |
getCalculatedRowData(int rowIndex)
Returns a Hashtable containing the data associated to the row calculated columns. |
java.lang.Object |
getCellRenderedValue(int row,
int column)
This method returns the value of rendered cell take into account when a cell contains a combo reference cell renderer. |
java.lang.String |
getCellValueAsString(int row,
int column)
Get the value of the specified cell as a String, using the renderer if exist |
int |
getColumnIndex(java.lang.String columnName)
Returns the view index of the column specified. |
java.lang.String |
getColumnName(int viewColumnIndex)
Returns the name of the column appearing in the view at column position viewColumnIndex. |
protected java.lang.String |
getColumnsPosAndOrderPreferenceKey()
Returns the key that will be used to identify the preference that will save the columns position and order. |
java.lang.Object |
getConstraints(java.awt.LayoutManager parentLayout)
Returns the table constrains. |
java.util.Vector |
getCurrentColumns()
Returns the current visible columns managed by the table. |
int |
getCurrentRowCount()
Returns the total amount of records shown in the table. |
protected java.lang.String |
getCustomReportPreferenceKey()
Returns the key that will be used to identify the preference that will save the custom reports associated to this table. |
java.lang.String |
getDebugInfo()
|
javax.swing.table.TableCellRenderer[] |
getDefaultRenderers()
Returns the renderers that are being used by the table. |
DetailForm |
getDetailForm()
Returns the DetailForm configured for this table. |
java.lang.String |
getDetailFormSizePreferenceKey()
Returns the key of the preference that stores the size of the DetailForm |
protected java.util.Hashtable |
getDetailWindowParameters()
|
javax.swing.table.TableCellEditor |
getEditorForColumn(java.lang.String column)
|
Table.EditorManager |
getEditorManager()
Returns the Table.EditorManager configured in the present table. |
boolean |
getEnabledDetail()
Determines if the detail form of the table is enable. |
java.lang.String |
getEntityName()
Provides the name of the configured entity for the table. |
java.lang.String |
getExcelString()
Creates a text to be interpreted by the Excel. |
java.util.Vector |
getFilterColumn()
Returns a vector with the names of the columns that have filters applied in the table view. |
protected java.lang.String |
getFilterInfo()
Returns a String with the information of all the filters that are being applied to the table. |
protected java.lang.String |
getFilterOrderConfigurationPreferenceKey()
Returns the client preferences key to store the configuration of the sorting columns |
protected java.lang.String |
getFilterOrderConfPreferenceKey(java.lang.String columnName)
Returns the client preferences key to store the filters for a determined column. |
java.lang.String |
getFormName()
Returns the detail form name. |
java.util.Hashtable |
getGroupedRowData(int rowIndex)
Returns the information corresponding to the row which index is passed as parameter. |
java.lang.String |
getHelpIdString()
|
java.lang.String |
getHTMLString()
Creates a HTML representation of the information in the table. |
protected java.util.Hashtable |
getInsertingData()
|
javax.swing.JScrollPane |
getJScrollPane()
Provides a reference to the table ScrollPane |
javax.swing.JTable |
getJTable()
Provides a reference to the JTable element contained in the table. |
java.lang.String |
getKeyFieldName()
Provides the value of the 'key' parameter, configured in the xml that defines the table. |
java.util.Vector |
getKeys()
Returns all the configured keys for the table, this is, the column names correponding to the attributes key and keys. |
java.lang.String |
getLabelComponentText()
Returns the label text component. |
int |
getMinRowHeight()
|
protected java.util.Vector |
getOperationColumns()
|
protected java.lang.String |
getOperationPreferenceKey()
Returns the key that will be used to identify the preference that will save the operations applied to the different columns. |
java.lang.String |
getOrderColumn()
Deprecated. |
java.util.Vector |
getOrderColumnName()
Returns a #Vector with the column names of all the visible
columns. |
java.lang.String[] |
getOrderColumns()
Returns the sorting column names. |
java.util.Vector |
getOriginalCalculatedColumns()
|
java.util.Vector |
getOriginallyVisibleColumns()
Returns the visible columns specified in the XML table definition. |
java.util.Vector |
getOriginalSumRowCols()
Returns the sum row columns specified in the XML table definition. |
PageFetcher |
getPageFetcher()
|
protected java.util.Hashtable |
getParameters()
Get the configuration parameters. |
Form |
getParentForm()
Returns a reference to the Form in which the table is placed. |
java.lang.Object |
getParentkeyEquivalentValue(java.lang.Object parentkey)
Get the name of the table column associated with the parent key field name |
java.lang.String |
getParentKeyFieldName()
Deprecated. |
java.util.Vector |
getParentKeyList()
|
java.util.Vector |
getParentKeys()
Returns a vector containing the parent key names, this is, the names set in the XML to the attribute 'parentkeys'. |
java.util.Vector |
getParentKeys(boolean applyEquivalences)
|
java.lang.Object |
getParentKeyValue()
Deprecated. |
java.util.Hashtable |
getParentKeyValues()
Returns a #Hashtable in which the keys are the field names
configured as table parent keys (using the names in the table entity if
they are different that the form fields), and the values are the values
those fields have in the table's parent form. |
java.util.Hashtable |
getParentKeyValues(boolean applyEquivalences)
Returns a #Hashtable in which the keys are the field names
configured as table parent keys, and the values are the values those
fields have in the table's parent form. |
protected java.lang.String |
getPivotTablePreferenceKey()
Returns the key that will be used to identify the preference that will save the pivot table configurations. |
protected java.lang.String |
getPivotTablePreferenceKey(java.lang.String configurationName)
Returns the key that will be used to identify the preference that will save the pivot table configuration. |
protected int |
getPreferredColumnWidth(int modelColumnIndex,
int maxRowNumber)
Returns the preferred width for the column passed as param. |
java.util.Vector |
getPrimaryKeys()
Deprecated. |
java.util.Hashtable |
getPrintingData()
Returns a #Hashtable with all the data of the visible columns. |
java.util.Hashtable |
getPrintingData(java.util.Vector askedColumns)
Returns the data contained by the asked columns. |
int |
getPrintingFontSize()
|
Table.QuickFieldText |
getQuickFilter()
|
java.util.Vector |
getRealColumns()
Returns a #Vector with the column names that have been set as
visible columns in the XML, and that are visible in the table as well. |
int |
getRealRecordsNumber()
Returns the total amount of records in the table. |
javax.swing.table.TableCellRenderer |
getRendererForColumn(java.lang.String column)
Returns the CellRenderer set to the column. |
Table.RendererManager |
getRendererManager()
Returns the Table.RendererManager configured for this table. |
java.util.Vector |
getReportColumns()
Returns the columns used to build reports. |
java.util.Vector |
getRequieredCols()
Get the required columns to insert. |
protected javax.swing.table.TableColumn |
getResizingColumn(javax.swing.table.JTableHeader header,
java.awt.Point point,
int columnIndex)
Compares the point with the header of the column specified by the columnIndex. |
java.util.ResourceBundle |
getResourceBundle()
Retuns the resources file used by the table. |
java.util.Hashtable |
getRowData(int rowIndex)
Returns the data contained in the specified row. |
java.util.Hashtable |
getRowDataForKeys(java.util.Hashtable keysValues)
|
int |
getRowForKeys(java.util.Hashtable keysValues)
Returns the row view index specified by the keys passed as parameter. |
java.lang.Object |
getRowKey(int rowIndex)
Deprecated. |
java.lang.Object |
getRowKey(int rowIndex,
java.lang.String keyName)
Returns the value of one single key, for the specified row. |
java.util.Hashtable |
getRowKeys(int rowIndex)
Returns the values of the keys for the index specified. |
int[] |
getRowsForKeys(java.util.Hashtable[] keysValuesToQuery)
For each Hashtable passed as parameter in the array, the method will search the row in which the keys have the same value that the ones stored in the Hashtable. |
protected java.lang.String |
getRowText(int rowIndex)
Returns a String with all the information displayed in the corresponding row, for each table attributes on that row. |
java.lang.Object |
getRowValue(int rowIndex,
java.lang.String modelColumnIndex)
Returns the value stored in a concrete column and row in the column model. |
protected java.lang.String |
getScrollText(int viewRowIndex)
Creates the text to be displayed in the scroll. |
int |
getSelectedRow()
Returns the index of the first selected row in the view. |
java.util.Hashtable |
getSelectedRowData()
Returns the information contained in the selected rows in a #Hashtable. |
int[] |
getSelectedRows()
Returns the selected rows indexes, sorted from higher to lower index |
int |
getSelectedRowsNumber()
Counts the number of rows selected in the table. |
java.lang.Object |
getShownValue()
Returns the information contained in the table. |
java.lang.Object |
getShownValue(java.lang.String[] cols)
|
int |
getSQLDataType()
Returns the table SQL type. |
protected java.util.Vector |
getSQLOrderList()
|
java.lang.Number |
getSumColumn(java.lang.Object col)
Returns the sum of all the values for the specified column. |
TableComponent |
getTableComponentReference(java.lang.Object key)
Returns a reference an object that implements the TableComponent
interface, stored in the table {link #controlsPanel}, specified by the
key. |
java.util.List |
getTableComponentReferences()
|
TableSorter |
getTableSorter()
|
int |
getTemplateDataType()
Returns the data type. |
java.lang.Object |
getTemplateDataValue()
Gets the value to show in the template |
java.util.Vector |
getTextsToTranslate()
Returns all text keys the table stores, and that must be translated in order to internationalize the component. |
java.lang.String |
getToolTipText(java.awt.event.MouseEvent e)
|
protected java.lang.String |
getUser()
Returns the user name. |
java.lang.Object |
getValue()
Returns the table model. |
EntityResult |
getValueToExport()
Creates a EntityResult object with the visible values of the table. |
EntityResult |
getValueToExport(boolean calculatedRow,
boolean translateHeader)
This method get the values of the renderers of all the cells in the table |
EntityResult |
getValueToExport(boolean calculatedRow,
boolean translateHeader,
boolean useNoStringKeys)
This method get the values of the renderers of all the cells in the table |
java.lang.Object |
getValueToReport()
Values that will be used to create custom reports |
int |
getViewOrderColumnIndex()
Returns the view index of the first column that is sorted. |
java.util.Vector |
getVisibleColumns()
Returns the current visible columns. |
protected java.lang.String |
getVisibleColumnsPreferenceKey()
Returns the client preferences key to store the visible columns. |
protected java.lang.String |
getVisibleControlsPreferenceKey()
Returns the client preferences key to store the visibility of the controls. |
boolean |
hasForm()
If the table has a detail form, the method returns true. |
boolean |
hasParentKeys()
|
boolean |
hasSumRow()
Method that returns true when the table has sum rows. |
protected void |
hideTipScroll()
Hides the tip corresponding to the vertical scroll. |
void |
init(java.util.Hashtable parameters)
Method that configures the component. |
int[] |
initColumnsWidth()
Sets the initial column width. |
int[] |
initColumnsWidth(int columnsWidth)
Sets the initial column width to the one passed as parameter. |
void |
initPermissions()
Some table functionalities and behaviours can be controled using client security, so the same table can be different depending on the user profile. |
void |
initPreferences(ApplicationPreferences aPrefs,
java.lang.String user)
Sets the table preferences. |
protected void |
initRendererEditors()
|
void |
initTableComponentPermissions()
Applies client permissions to the components in the controlsPanel. |
protected void |
insertFilter()
Shows the FilterDialog. |
protected void |
insertFilterByValue()
Popup menu method that gets the value in the cell over which the menu was displayed, gets that value, and filters the table applying that value as filter value. |
protected void |
insertGroup()
Groups the selected column in the table by year. |
protected void |
insertGroup(int type)
Groups the selected column by the defined type. |
protected void |
installButtonsListener()
Installs the control panel buttons, and the listeners associated to them, when necessary. |
protected void |
installCalculedColsButton()
Installs the button that manages the calculated columns configuration in the table. |
protected void |
installChartButton()
Installs the table button that open the Charting dialog. |
protected void |
installConfSumRowButton()
Creates, adds to the control panel, and creates the action listener related to the button that manages the configuration of the sum rows. |
protected void |
installConfVisibleColsButtons()
Creates, adds to the control panel, and creates the action listener related to the button that manages the configuration of the visible columns. |
protected void |
installDefaultChartsButton()
Creates, adds to the control panel, and creates the action listener related to the button that open the charting window. |
void |
installHelpId()
Sets the help id for this class in the HelpUtilities |
protected void |
installPivotTableButton()
Installs the button that provides pivot functionallity in the control panel. |
protected void |
installReportButton()
Installs the Report Button |
protected void |
installScrollListener()
Installs a #MouseMotionListener and a #MouseListener to
the vertical scroll, in order to control the tip. |
protected boolean |
isAscending()
Determines whether the first sorting applied to this table is ascending or not. |
static boolean |
isChartEnabled()
Check whether or not the charting functionality is enabled for this table. |
protected boolean |
isColumnWidthFixed(java.lang.String column)
Determines whether the column has its width fixed or not. |
boolean |
isDataBaseInsert()
|
boolean |
isDetailFormCreated()
Returns true if the table detail form is created. |
boolean |
isEmpty()
A table is considered empty when it has no records. |
boolean |
isEnabled()
Determines if the object is enabled. |
boolean |
isFiltered()
Determines if the table has filters. |
boolean |
isFiltered(int viewColumnIndex)
Determines if the table column passed as param is filtered. |
boolean |
isFilteringEnabled()
|
protected boolean |
isFrame()
Determines whether the window in which the table is placed is a Frame or not |
boolean |
isGroup()
Determines if the table is grouped. |
boolean |
isGrouped()
Determines if the table is grouped. |
boolean |
isHidden()
Returns always false. |
boolean |
isInsertingEnabled()
|
boolean |
isModifiable()
Returns always true. |
boolean |
isModifiableCalculatedColumns()
|
boolean |
isModified()
Returns always false. |
boolean |
isRequired()
Returns always false. |
boolean |
isRestricted()
Determines if the table is restricted, this is, has client permission restrictions. |
boolean |
isRowNumberColumnVisible()
|
boolean |
isSorted()
Determines if the table is sorted. |
boolean |
isSumRow(int rowIndex)
Determines if the file passed as parameter is a sum row. |
boolean |
isTranslateHeader()
|
boolean |
isVisibleColumn(java.lang.String columnName)
Returns true if the column with the specified name is visible. |
void |
loadFilterOrderConfiguration(java.lang.String filterName)
Loads the configuration which name is passed as parameter. |
protected void |
loadPivotTableConfiguration(java.lang.String confName)
Load the concrete pivot table configuration. |
protected void |
menuPivotTablePreferences(java.awt.event.ActionEvent e)
Method called by the table pivot button listener that shows the pivot table dialog. |
void |
openDetailForm(int rowIndex)
Opens the table DetailForm with the data related to the row passed
as parameter. |
void |
openInNewWindow(int[] modelSelectedRows)
Opens the detail form for the rows passed as parameter in the array, in a new window each. |
void |
openInsertDetailForm()
Opens the table DetailForm from in Insert mode. |
void |
packTable()
Packs the table, in order to reduce the unused space. |
protected java.util.Hashtable |
parseFunction(java.util.Hashtable equivalences)
|
void |
preferenceChanged(PreferenceEvent prefEvent)
Is call when a preference changes, because the table is registered as a preference change listener. |
void |
prepareEditor(javax.swing.table.TableCellEditor editor)
Establishes the initial parameters for the TableCellEditor
components
The method must be called to prepare all editors implementing ReferenceComponent
Internationalization
AccessForm
CachedComponent |
void |
prepareRenderer(javax.swing.table.TableCellRenderer renderer)
Establishes the initial parameters for the TableCellRenderer
components
The method must be called to prepare all renderes implementing CellRenderer
ReferenceComponent
Internationalization
AccessForm
CachedComponent |
void |
print()
Starts the print table dialog. |
protected void |
printSelection()
Opens the printing dialog to print the information contained in the selected rows. |
void |
printSilent(java.lang.String title)
Starts the table printing process. |
void |
refresh()
Updates the table content querying the entity specified in the XML, and filtering the results by the values set in the form to the fields corresponding to the attributes parentkey and otherkeys. |
void |
refresh(boolean autoSizeColumns)
Updates the table content querying the entity specified in the XML, and filtering the results by the values set in the form to the fields corresponding to the attributes parentkey and otherkeys. |
void |
refreshEDT()
|
void |
refreshEDT(boolean autoSizeColumns)
Updates the table content querying the entity specified in the XML, and filtering the results by the values set in the form to the fields corresponding to the attributes parentkey and otherkeys. |
void |
refreshInThread(int delay)
Refreshes the data in the table periodically. |
void |
refreshRow(int viewRowIndex)
Refreshes the row passed as parameter. |
void |
refreshRow(int viewRowIndex,
java.util.Hashtable oldkv)
Refreshes the row passed as parameter. |
void |
refreshRows(int[] viewRowIndexes)
Refreshes the rows passed as parameter |
protected void |
registerKeyListeners()
|
void |
removeAllCharts()
Removes all the charts available for this table. |
void |
removeButtonFromControls(javax.swing.AbstractButton button)
Removes a button from the controls panel |
void |
removeChart(java.lang.String description)
Removes the specified chart for this table |
void |
removeComponentFromControls(javax.swing.JComponent component)
Removes a #JComponent from the controls panel. |
void |
removeInsertTableInsertRowListener(InsertTableInsertRowListener l)
|
void |
removeTableEditorListener(TableEditorListener listener)
Removes a #TableEditorListener from the table. |
void |
resetFilter()
Removes all the filters set to the table. |
void |
resetFilter(java.lang.String column)
Removes the filter set to the specified column. |
void |
resetGroup()
Removes the grouping applied to the table. |
void |
resetOrder()
Removes the sorting applied to the table. |
protected java.util.Hashtable |
retrieveOnSetValueData()
|
void |
saveColumnsPositionAndWith()
Saves the columns color and width as table preference. |
protected void |
saveFilterOrderConfiguration(java.lang.String confName,
boolean savePositionAndWidth)
Saves the table filter configuration with a name, and optionally the column position and widths. |
void |
saveOperations(java.util.Hashtable operations)
Saves the operations passed as parameter in the preferences. |
protected void |
saveOrderFilterConfiguration(java.lang.String confName)
Saves the table filter configuration. |
protected void |
savePivotTableConfiguration(java.lang.String confName)
Saves the current pivot table configuration. |
void |
saveVisibleControlsConfiguration()
Saves the current visible controls configuration in the preferences. |
protected void |
setAttributesToFix()
Sets the fixed attributes to the detail form. |
void |
setAutoFixHead(boolean autoFixHead)
Sets whether the table header will adjusts its size automatically. |
protected void |
setButtonTips()
Configures the buttons tip. |
void |
setCellRendererColorManager(CellRenderer.CellRendererColorManager colorManager)
Sets the color manager for all the CellRenderer contained by the
table. |
void |
setCellRendererFontManager(CellRenderer.CellRendererFontManager fontManager)
Sets the font manager for all the CellRenderer contained by the
table. |
void |
setColumnEditor(java.lang.String col,
javax.swing.table.TableCellEditor editor)
Sets a column editor to the specified column. configures the editor if necessary. |
void |
setComponentLocale(java.util.Locale locale)
Sets the element locale |
protected void |
setControlButtonsEnabled(boolean enabled)
Sets whether the control buttons pannel will be enabled or not. |
void |
setControlsVisible(boolean visible)
Sets whether or not the table controls are visible. |
void |
setControlsVisible(boolean vis,
boolean savePreferences)
Sets whether or not the table controls are visible. |
void |
setDefaultChartsEnabled(boolean enabled)
Sets whether the default charting functionality is enabled or not. |
protected void |
setDefaultFilter()
Sets the default filter to the table. |
protected void |
setDynamicTableConfiguration(java.lang.Object value)
|
void |
setEditable(boolean editable)
Sets whether the table is editable. |
void |
setEditableColumn(java.lang.String col)
Allows the specified column to be editable from the Table.
|
void |
setEditableColumn(java.lang.String col,
boolean updateEntity)
Allows the specified column to be editable from the Table. |
void |
setEditableColumn(java.lang.String col,
boolean updateEntity,
boolean editable)
Activates or deactivates the editable mode for the specified column, in order to be the column editable or not from the Table.
|
void |
setEditorManager(Table.EditorManager manager)
Sets an Table.EditorManager to the present Table. |
protected void |
setEditors()
Configure the editors for currency columns and time columns |
void |
setEnabled(boolean enabled)
Sets whether or not this component is enabled. |
void |
setEnabledDetail(boolean enabled)
Sets whether or not the DetailForm of this component is
enabled. |
void |
setFont(java.awt.Font newFont)
Sets the font for this component, for all the elements that must have a configured fort, for example renderers. |
void |
setFormBuilder(FormBuilder builder)
Sets the FormBuilder that the table will use to build the detail
form |
protected void |
setHorizontalScroll(boolean scrollH)
Sets an horizontal scroll to the Table. |
void |
setImageRendererHeight(int pixels)
Sets the height that will have the rendered images into the table. |
protected void |
setInnerValue(java.lang.Object value)
Sets the data that the table will handle, this is, the columns information. |
protected void |
setInnerValue(java.lang.Object value,
boolean autoSizeColumns)
Sets the information the table will manage. |
void |
setInsertInDatabase(boolean insert)
|
void |
setInsertInDataBase(boolean insert)
Deprecated. Use setInsertInDatabase |
void |
setLineRemark(boolean lineRemark)
Sets if the table must have even rows of one color and odd rows of other |
void |
setMemoryOperations(boolean inMemory)
Configures the table to perform the operations in memory. |
void |
setMinRowHeight(int height)
|
void |
setModifiable(boolean modif)
Empty method. |
void |
setModified(boolean modif)
Empty method. |
void |
setParentForm(Form form)
Sets the Form in which the table is placed. |
void |
setParentFrame(java.awt.Frame frame)
Sets the frame that will be used as parent of the dialogs. |
protected void |
setPivotTablePreferences(javax.swing.JDialog pivotDialog)
Adds the fuctionallity of manage preferences to the pivot table dialog. |
protected int[] |
setPreferredTableColumnWidths()
Sets the preferred width for all columns. |
protected int[] |
setPreferredTableColumnWidths(int maxRows)
Sets the preferred width for the columns in the table, up to the maximum number of rows. |
protected int[] |
setPreferredTableColumnWidths(java.util.Vector visibleColumns)
Sets the current column width to the preferred column width for the columns past as parameter |
protected int[] |
setPreferredTableColumnWidths(java.util.Vector visibleColumns,
javax.swing.JProgressBar progressBar)
Sets the current column width to the preferred column width for the columns past as parameter |
protected void |
setPreferredTableWidth()
Sets the preferred table width. |
void |
setQuickFilterValue(java.lang.String text)
|
void |
setReferenceLocator(EntityReferenceLocator referenceLocator)
Sets a reference to the EntityReferenceLocator |
void |
setRemoveInDatabase(boolean remove)
|
void |
setRemoveInDataBase(boolean insert)
Deprecated. Use setRemoveInDatabase |
void |
setRendererForColumn(java.lang.String column,
javax.swing.table.TableCellRenderer renderer)
Sets a concrete renderer for the specified table column. |
void |
setRendererForColumnExp(java.lang.String column,
javax.swing.table.TableCellRenderer renderer)
Sets a concrete renderer for the specified table column. |
void |
setRendererManager(Table.RendererManager manager)
Sets the RendererManager, which provides the renderes depending on the object type that must be renderer. |
protected void |
setRenderers()
Sets the default renders to the class types. |
void |
setReportColumns(java.util.Vector columns)
|
void |
setRequired(boolean req)
Empty method. |
void |
setResourceBundle(java.util.ResourceBundle resourceBundle)
Sets the language resource bundle. |
void |
setRowNumberColumnVisible(boolean visible)
Sets whether or not the row number column is visible. |
void |
setScrollTipEnabled(boolean enable)
Sets whether a tip informing about the record number when pressing the table scroll must be shown or not. |
protected void |
setScrollTooltipText()
|
void |
setSelectedRow(int viewRowIndex)
Selects a row in the table |
void |
setSelectedRows(int[] viewRowIndex)
Selects one or more rows in the table |
void |
setTableComponentEnabled(java.lang.String key,
boolean enabled)
Sets whether or not the specified component of the table should be enabled or not. |
void |
setTableComponentVisible(java.lang.String key,
boolean visible)
Sets whether or not the table component is visible. |
protected void |
setTextsMenu()
Sets all the table texts in the table popup menu. |
protected void |
setTip()
Configures and sets the table tips. |
void |
setUpdateInDatabase(boolean update)
Enabled/disabled updating the changes in the database when the user change the values stored in those. |
void |
setValue(java.lang.Object value)
Sets values for the table. |
void |
setValue(java.lang.Object value,
boolean autoSizeColumns)
Sets values for the table. |
void |
setVisible(boolean vis)
Sets the table visible. |
void |
setVisibleColsConfigurationAllowed(boolean allowConfiguration)
Sets whether or not the visible columns can be configured by the user. |
protected void |
setVisibleColumns()
Configures the columns to show in the Table init process. |
void |
setVisibleColumns(java.util.Vector visibleColumns)
Establishes as visible columns the columns passed as parameter and shows the columns. |
void |
setVisibleColumns(java.util.Vector visibleColumns,
boolean autoSizeColumns)
Establishes as visible columns the columns passed as parameter and shows the columns. |
protected boolean |
setWidthAndPositionColumns()
Sets the column width and position to the values stored in the preferences. |
protected void |
showCalculatorWindow(java.lang.Object source)
Shows the calculator window |
void |
showChart(java.lang.String description)
Shows the chart window. |
protected void |
showChartMenu(java.awt.event.ActionEvent e)
Shows the ChartMenu |
protected void |
showConfSumRowDialog()
|
void |
showCurrencyValue(int currencyType)
Shows the currency symbol when CurrencyCellRenderer are used |
void |
showCustomReportsWindow()
Shows the custom reports windows, when the table is not empty. |
void |
showCustomReportsWindow(java.lang.String configuration)
Shows the custom reports windows, when the table is not empty. |
protected void |
showPopupMenu(int x,
int y)
Shows the popup menu. |
protected void |
showTipScroll(javax.swing.JScrollBar scrollBar,
int x,
int y,
int viewRowIndex)
Shows the tip corresponding to the vertical scroll. |
void |
sortBy(java.lang.String column,
boolean ascendant)
Sorts the table based on the column values. |
void |
sortByWithoutReset(java.lang.String column,
boolean asc)
Sorts the table based on the column values. |
void |
toggleControls()
Toggles the control panel visibility. |
void |
update()
Repaints the component. |
protected void |
updateFilterInfo()
Updates the text in the table that shows the current filter status,which shows the columns that are being filtered and the values that are being applied to those columns. |
protected void |
updateOnSetValueSetAttributes(java.util.Hashtable data)
|
void |
updateRowData(java.util.Hashtable rowData)
Updates row values in the table. |
void |
updateRowData(java.util.Hashtable rowData,
java.util.Hashtable newkv)
|
void |
updateRowData(java.util.Hashtable rowData,
java.util.List columns,
java.util.Hashtable newkv)
|
protected EntityResult |
updateTable(java.util.Hashtable keysValues,
int viewColumnIndex,
javax.swing.table.TableCellEditor tableCellEditor,
java.util.Hashtable otherData,
java.lang.Object previousData)
Updates the value determined by the specified column and row in the Entity. |
protected EntityResult |
updateTable(int rowIndex,
int viewColumnIndex)
Deprecated. Must be used updateTable(Hashtable, int, TableCellEditor, Hashtable, Object)Must be used updateTable(Hashtable, int, TableCellEditor, Hashtable, Object) |
protected EntityResult |
updateTable(int rowIndex,
int viewColumnIndex,
java.util.Hashtable otherData)
Deprecated. Must be used updateTable(Hashtable, int, TableCellEditor, Hashtable, Object) |
protected EntityResult |
updateTable(int rowIndex,
int viewColumnIndex,
java.util.Hashtable otherData,
java.lang.Object previousData)
Deprecated. Must be used updateTable(Hashtable, int, TableCellEditor, Hashtable, Object) |
void |
updateUI()
|
| Methods inherited from class javax.swing.JPanel |
getAccessibleContext, getUI, getUIClassID, paramString, setUI |
| 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, 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, setForeground, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, 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, 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, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final java.lang.String INSERT_TABLE
init(java.util.Hashtable),
Constant Field Valuespublic static final java.lang.String TRANSLATE_HEADER
init(java.util.Hashtable),
Constant Field Valuespublic static final java.lang.String DYNAMIC
init(java.util.Hashtable),
Constant Field Valuespublic static final java.lang.String REQUIRED_COLS
init(java.util.Hashtable),
Constant Field Valuespublic static final java.lang.String REPORT_COLS
init(java.util.Hashtable),
Constant Field Valuespublic static final java.lang.String DATABASE_REMOVE
init(java.util.Hashtable),
Constant Field Valuespublic static final java.lang.String DATABASE_INSERT
init(java.util.Hashtable),
Constant Field Valuespublic static java.lang.String rendererEditorConfigurationFile
TableConfigurationManagerpublic static java.lang.String XLS_EXPORT_CLASS
public static final java.lang.String QUICK_FILTER
init(java.util.Hashtable),
Constant Field Valuespublic static final java.lang.String QUICK_FILTER_VISIBLE
init(java.util.Hashtable),
Constant Field Valuespublic static final java.lang.String PIVOT_BUTTON
init(java.util.Hashtable),
Constant Field Valuespublic static final java.lang.String CUSTOM_CHARTS
init(java.util.Hashtable),
Constant Field Valuespublic static final java.lang.String CONTROLS_VISIBLE
init(java.util.Hashtable),
Constant Field Valuespublic static final java.lang.String MEMO_RENDER
init(java.util.Hashtable),
Constant Field Valuespublic static final java.lang.String UPDATE_ENTITY_EDITABLE_COLUMNS
init(java.util.Hashtable),
Constant Field Valuespublic static final java.lang.String EDITABLE_COLUMNS
init(java.util.Hashtable),
Constant Field Valuespublic static final java.lang.String TIME_RENDER
init(java.util.Hashtable),
Constant Field Valuespublic static final java.lang.String CURRENCY
init(java.util.Hashtable),
Constant Field Valuespublic static final java.lang.String CALCULED_COLS_REQUIRED_FIELDS
init(java.util.Hashtable),
Constant Field Valuespublic static final java.lang.String CALCULED_COLS
init(java.util.Hashtable),
Constant Field Valuespublic static final java.lang.String MODIFIABLE_CALCULATED_COLUMNS
public static final java.lang.String FIX_ATTR
init(java.util.Hashtable),
Constant Field Valuespublic static final java.lang.String OTHER_KEYS
init(java.util.Hashtable),
Constant Field Valuespublic static final java.lang.String FONT_SIZE
init(java.util.Hashtable),
Constant Field Valuespublic static final java.lang.String CONTROLS
init(java.util.Hashtable),
Constant Field Valuespublic static final java.lang.String DYNAMIC_FORM
init(java.util.Hashtable),
Constant Field Valuespublic static final java.lang.String FORM
init(java.util.Hashtable),
Constant Field Valuespublic static final java.lang.String PARENTKEY
init(java.util.Hashtable),
Constant Field Valuespublic static final java.lang.String KEYS
init(java.util.Hashtable),
Constant Field Valuespublic static final java.lang.String KEY
init(java.util.Hashtable),
Constant Field Valuespublic static final java.lang.String VISIBLE_COLS
init(java.util.Hashtable),
Constant Field Valuespublic static final java.lang.String DEFAULT_VISIBLE_COLS
init(java.util.Hashtable),
Constant Field Valuespublic static final java.lang.String COLS
init(java.util.Hashtable),
Constant Field Valuespublic static final java.lang.String REFRESH_BUTTON
init(java.util.Hashtable),
Constant Field Valuespublic static final java.lang.String ROWS
init(java.util.Hashtable),
Constant Field Valuespublic static final java.lang.String QUERY_ROWS
init(java.util.Hashtable),
Constant Field Valuespublic static final java.lang.String DELETE_BUTTON
init(java.util.Hashtable),
Constant Field Valuespublic static final java.lang.String SUM_ROW
init(java.util.Hashtable),
Constant Field Valuespublic static final java.lang.String TITLE
init(java.util.Hashtable),
Constant Field Valuespublic static final java.lang.String MEMORY_ENTITY
init(java.util.Hashtable),
Constant Field Valuespublic static final java.lang.String ENTITY
init(java.util.Hashtable),
Constant Field Valuespublic static final java.lang.String NUM_ROWS_COLUMN
init(java.util.Hashtable),
Constant Field Valuespublic static final java.lang.String HORIZONTAL_SCROLL
init(java.util.Hashtable),
Constant Field Valuespublic static final java.lang.String AUTO_ADJUST_HEADER
init(java.util.Hashtable),
Constant Field Valuespublic static final java.lang.String DISABLE_INSERT
init(java.util.Hashtable),
Constant Field Valuespublic static final java.lang.String CONF_VISIBLE_COLS
init(java.util.Hashtable),
Constant Field Valuespublic static final java.lang.String DEFAULT_NEW_WINDOW
init(java.util.Hashtable),
Constant Field Valuespublic static final java.lang.String OPEN_NEW_WINDOW
init(java.util.Hashtable),
Constant Field Valuespublic static final java.lang.String ONSETVALUESET
init(java.util.Hashtable),
Constant Field Valuespublic static final java.lang.String DEFAULT_BUTTONS
public static final java.lang.String OPERATION_PREFERENCE
Table
public static final java.lang.String SHOWGRID
public static final java.lang.String MINROWHEIGHT
public static final java.lang.String TABLEOPAQUE
public static final java.lang.String TABLEBGCOLOR
public static final java.lang.String CODS
init(java.util.Hashtable),
Constant Field Valuespublic static final java.lang.String CONTINUOUS
public static final java.lang.String SINGLE
public static final java.lang.String SELECTIONMODE
public static final java.lang.String BACKGROUND_FORM_BUILDER
init(java.util.Hashtable),
Constant Field Valuespublic static boolean DEFAULT_VALUE_SETUP_VISIBLE_COLS
public static boolean defaultPivotTableVisibility
public static boolean DEFAULT_QUICK_FILTER
public static boolean defaultQuickFilterVisible
public static boolean ORDER_COLS_BY_VISIBLE_COLS
public static boolean DEFAULT_VALUE_SET_HEIGHT_HEAD
public static boolean SHOW_OPEN_IN_NEW_WINDOW_MENU
public static boolean PERMIT_SAVE_FILTER_ORDER_CONFIGURATION
#confFiltroOrdenpublic static final int PIE
public static final int PIE_3D
public static final int BAR
public static final int BAR_3D
public static final int STACKED_3D
public static final int LINE
public static final int MONTH
public static final int QUARTER
public static final int YEAR
public static boolean DEBUG_MEMORY
public static boolean CHART_ENABLED
protected static boolean CHART_V1
public static final java.lang.String SAVE_WIDTH_POSITION_COLUMNS
public static final java.lang.String M_MODIFIED_DATA_CLOSE_AND_LOST_CHANGES
public static final java.lang.String HEAD_TIP_COD
public static final java.lang.String SORT_HEAD_TIP_COD
public static final java.lang.String FILTER_HEAD_TIP_COD
public static final java.lang.String OF
public static int MIN_ROW_HEIGHT
public static final java.lang.String DOWN_10
public static final java.lang.String DOWN_50
public static final java.lang.String DOWN_100
public static final java.lang.String DOWN_ALL
public static final java.lang.String TOTAL
public static final java.lang.String RECORDS
public static final java.lang.String IT_IS_SHOWED
public static final java.lang.String TOTAL_es_ES
public static final java.lang.String RECORDS_es_ES
public static final java.lang.String IT_IS_SHOWED_es_ES
public static final java.lang.String TIP_CLIPBOARD_COPY
public static final java.lang.String TIP_EXCEL_EXPORT
public static final java.lang.String TIP_PRINTING
public static final java.lang.String PRINT_START
public static final java.lang.String TIP_HTML_EXPORT
public static final java.lang.String TIP_INSERT_BUTTON
public static final java.lang.String TIP_CHART_MENU
public static final java.lang.String TIP_VISIBLES_COLS_SETUP
public static final java.lang.String TIP_SUMROW_SETUP
public static final java.lang.String TIP_FILTER_ORDEN_CONF
public static final java.lang.String TIP_REPORT_PRINTING
public static final java.lang.String TIP_CHART_MENU_es_ES
public static final java.lang.String TIP_CLIPBOARD_COPY_es_ES
public static final java.lang.String TIP_EXCEL_EXPORT_es_ES
public static final java.lang.String TIP_PRINTING_es_ES
public static final java.lang.String TIP_HTML_EXPORT_es_ES
public static final java.lang.String TIP_INSERT_BUTTON_es_ES
public static final java.lang.String TIP_VISIBLES_COLS_SETUP_es_ES
public static final java.lang.String TIP_SAVE_FILTER_ORDER_CONFIGURATION_es_ES
public static final java.lang.String TIP_REPORT_PRINTING_es_ES
public static final java.lang.String TIP_PIVOT_TABLE_es_ES
public static final java.lang.String TIP_PIVOT_TABLE
public static final java.lang.String TIP_CALCULATED_COLUMNS
public static final java.lang.String M_PRINTING_CANCELED
public static final java.lang.String M_ERROR_PRINTING_TABLE
public static final java.lang.String M_PRINTING_FINISHED
public static final java.lang.String M_WOULD_YOU_LIKE_TO_DELETE_ROWS
public static final java.lang.String M_SELECTION_ONLY_ONE_ROW_TO_OPEN_DETAIL_FORM
public static final java.lang.String M_SELECTION_LESS_THAN_5_ROWS
public static final java.lang.String M_WOULD_YOU_LIKE_TO_DELETE_THIS_CONFIGURATION_OF_FILTER
public static final java.lang.String FILTER_COLUMN_es_ES
public static final java.lang.String FILTER_BY_VALUE_es_ES
public static final java.lang.String DELETE_FILTER_es_ES
public static final java.lang.String DELETE_FILTER_COLUMN
public static final java.lang.String GROUP_COLUMN_es_ES
public static final java.lang.String GROUP_COLUMN_BY_DATE_es_ES
public static final java.lang.String GROUP_COLUMN_BY_YEAR
public static final java.lang.String GROUP_COLUMN_BY_YEAR_MONTH
public static final java.lang.String GROUP_COLUMN_BY_YEAR_MONTH_DAY
public static final java.lang.String GROUP_COLUMN_BY_QUARTER_YEAR
public static final java.lang.String GROUP_COLUMN_BY_QUARTER
public static final java.lang.String GROUP_COLUMN_BY_MONTH
public static final java.lang.String GROUP_FUNCTION
public static final java.lang.String UNGROUP_COLUMN_es_ES
public static final java.lang.String DELETE_GROUP_es_ES
public static final java.lang.String COPY_CELL
public static final java.lang.String COPY_SELECTION
public static final java.lang.String PRINTING_SELECTION
public static final java.lang.String REFRESH
public static final java.lang.String PAGEABLE
public static final java.lang.String SHOW_HIDE_CONTROLS
public static final java.lang.String SUM_es_ES
public static final java.lang.String AVERAGE_es_ES
public static final java.lang.String MAXIMUM_es_ES
public static final java.lang.String MINIMUM_es_ES
public static final java.lang.String COUNT_es_ES
public static final java.lang.String COPY_CELL_es_ES
public static final java.lang.String COPY_SELECTION_es_ES
public static final java.lang.String PRINTING_SELECTION_es_ES
public static final java.lang.String REFRESH_es_ES
public static final java.lang.String SHOW_HIDE_CONTROLS_es_ES
protected static final java.lang.String editKey
protected static final java.lang.String insertKey
protected static final java.lang.String detailKey
protected static final java.lang.String resetOrderKey
protected static final java.lang.String openInNewWindowKey
protected java.lang.String totalText
protected java.lang.String recordsText
protected java.lang.String shownText
protected DateCellRenderer rDate
protected RowHeadCellRenderer rRowHead
protected BooleanCellRenderer rBoolean
protected RealCellRenderer rReal
protected ObjectCellRenderer rObject
protected ImageCellRenderer rImagen
protected HeadCellRenderer rHead
protected MemoCellRenderer rMemo
protected java.util.Vector memoRenderColumns
protected int minRowHeight
public static boolean defaultShowGridValue
protected boolean showGridValue
protected boolean dynamicTable
protected boolean translateHeader
protected java.awt.event.MouseListener listenerHighlightButtons
protected boolean borderbuttons
protected boolean opaquebuttons
protected java.util.Hashtable buttonIcons
protected boolean dataBaseInsert
protected boolean dataBaseRemove
protected java.util.Vector vrequiredCols
protected java.util.Vector vupdateEditableColumns
protected boolean inserting
protected javax.swing.event.EventListenerList insertTableInsertRowListenerList
protected java.beans.PropertyChangeListener columnWidthListener
width will set the preferred row height.
evaluatePreferredRowsHeight()protected java.util.Hashtable parameters
protected java.awt.BorderLayout layout
protected javax.swing.JTable table
protected java.util.Vector attributes
protected java.lang.String formName
protected javax.swing.JScrollPane scrollPane
protected java.lang.String entity
protected java.lang.String memoryEntity
protected java.util.Vector primaryKey
protected java.lang.String keyField
protected java.util.Vector keyFields
protected java.util.Hashtable codValues
protected java.lang.String parentKey
protected java.util.Vector otherParentKeys
protected java.util.List parentkeys
protected java.util.Hashtable hParentkeyEquivalences
protected java.util.Vector onsetvaluesetAttributes
protected java.util.Hashtable hOnSetValueSetEquivalences
onsetvalueset is: "fieldonset1:SUM(fieldentitypk1);fieldonset2:CONCAT(fieldentitypk2);...fieldonsetn:MAX(fieldentitypkn)"
protected java.util.Hashtable hOnSetValueSetFunction
onsetvalueset is: "fieldonset1:SUM(fieldentitypk1);fieldonset2:CONCAT(fieldentitypk2);...fieldonsetn:MAX(fieldentitypkn)"
protected java.awt.Frame parentFrame
protected FormBuilder formBuilder
protected DetailForm detailForm
protected Form parentForm
protected boolean visibleFieldKeyColumn
protected boolean enabled
protected boolean enabledDetail
protected boolean showControls
protected boolean defaultButtons
public boolean controlsVisible
protected boolean quickFilterVisible
protected boolean allowSetupVisibleColumns
protected javax.swing.JPanel controlsPanel
protected javax.swing.JLabel lInfoFilter
protected Table.QuickFieldText quickFilterText
public static final java.lang.String FIND_MESSAGE
public static final java.lang.String QUICK_FILTER_PAGEABLE_MESSAGE_KEY
public static final java.lang.String QUICK_FILTER_LABEL_KEY
public static final java.lang.String BUTTON_CHANGEVIEW
public static final java.lang.String BUTTON_COPY
public static final java.lang.String BUTTON_EXCEL_EXPORT
public static final java.lang.String BUTTON_HTML_EXPORT
public static final java.lang.String BUTTON_PLUS
public static final java.lang.String BUTTON_PRINTING
public static final java.lang.String BUTTON_DELETE
public static final java.lang.String BUTTON_REFRESH
public static final java.lang.String BUTTON_CHART
public static final java.lang.String BUTTON_DEFAULT_CHART
public static final java.lang.String BUTTON_VISIBLE_COLS_SETUP
public static final java.lang.String BUTTON_SUM_ROW_SETUP
public static final java.lang.String BUTTON_REPORT
public static final java.lang.String BUTTON_SAVE_FILTER_ORDER_SETUP
public static final java.lang.String BUTTON_CALCULATED_COL
protected javax.swing.JButton buttonChangeView
protected javax.swing.JButton buttonCopy
protected javax.swing.JButton buttonExcelExport
protected javax.swing.JButton buttonHTMLExport
protected javax.swing.JButton buttonPlus
protected javax.swing.JButton buttonPlus2
protected javax.swing.JButton buttonPrint
protected javax.swing.JButton buttonDelete
protected javax.swing.JButton buttonRefresh
protected javax.swing.JButton buttonChart
protected TableButtonSelection buttonDefaultChart
protected javax.swing.JButton buttonVisibleColsSetup
protected javax.swing.JButton buttonSumRowSetup
protected TableButtonSelection buttonReports
protected javax.swing.JPopupMenu menuReportSetup
protected javax.swing.JButton buttonSaveFilterOrderSetup
protected javax.swing.JButton buttonCalculatedColumns
public static boolean createCalculatedButton
protected java.util.Vector addButtons
protected java.util.Vector addComponents
protected PrintingWindow printingWindow
protected java.util.Locale locale
protected int fontSize
protected boolean orderEnabled
protected boolean modified
protected java.util.ResourceBundle resourcesFile
protected java.util.Vector attributesToFix
protected java.util.Vector currencyColumns
protected java.util.Vector hourRenderColumns
protected java.util.Vector editableColumnsUpdateEntity
protected java.util.Vector editableColumns
protected javax.swing.JMenuItem filter
protected boolean activatedFilter
protected boolean setPivotTableButton
protected boolean allowDelete
protected boolean setRefreshButton
protected boolean installQuickFilter
protected boolean packTable
protected ExtendedJPopupMenu menu
protected ExtendedJPopupMenu chartMenu
protected java.util.Vector menuChartItems
protected java.util.Vector chartGraphMenuItems
protected IChartUtilities chartUtilities
protected boolean defaultChartsEnabled
protected javax.swing.JMenuItem menuDetail
protected javax.swing.JMenuItem menuInsert
protected javax.swing.JMenuItem menuPrintSelection
protected javax.swing.JMenuItem menuCopyCell
protected javax.swing.JMenuItem menuCopySelection
protected javax.swing.JMenuItem menuRefresh
protected javax.swing.JMenuItem menuResetOrder
protected javax.swing.JMenuItem menuOpenInNewWindow
protected javax.swing.JMenuItem menuFilter
protected javax.swing.JMenuItem menuFilterByValue
protected javax.swing.JMenuItem menuDeleteColumnFilter
protected javax.swing.JMenuItem menuDeleteFilter
protected javax.swing.JMenuItem menuGroup
protected javax.swing.JMenu menuGroupDate
protected javax.swing.JMenuItem menuGroupByYear
protected javax.swing.JMenuItem menuGroupByYearMonth
protected javax.swing.JMenuItem menuGroupYearMonthDay
protected javax.swing.JMenuItem menuGroupByQuarterYear
protected javax.swing.JMenuItem menuGroupByQuarter
protected javax.swing.JMenuItem menuGroupByMonth
protected javax.swing.JMenu menuGroupFunction
protected javax.swing.JMenuItem menuSumFunction
protected javax.swing.JMenuItem menuAvgFunction
protected javax.swing.JMenuItem menuMaxFunction
protected javax.swing.JMenuItem menuMinFunction
protected javax.swing.JMenuItem menuCountFunction
protected javax.swing.JMenuItem menuDeleteGroup
protected javax.swing.JMenuItem menuPageableEnabled
protected FilterDialog filterWindow
protected javax.swing.JCheckBoxMenuItem menuShowHideControls
protected boolean operationInMemory
protected boolean scrollHorizontal
protected java.lang.Object defaultFilter
protected boolean allowOpenInNewWindow
protected boolean openInNewWindowByDefault
public static final int LESS
public static final int LESS_EQUAL
public static final int EQUAL
public static final int GREATER_EQUAL
public static final int GREATER
public static final int RANGE
public static final boolean DEFAULT_RENDER_REPORT_VALUES
public static boolean renderReportValues
protected int rowPress
protected int colPress
protected java.awt.event.MouseEvent eventPress
protected DetailFormBuilder detailFormBuilder
public boolean backgroundDetailFormBuilder
protected java.awt.event.ActionListener reserOrderListener
protected java.awt.event.ActionListener addRecordListener
protected java.util.Vector visibleColumns
protected java.util.Vector defaultVisibleColumns
protected java.util.Vector originalVisibleColumns
protected java.util.Vector reportCols
protected int[] columnWidthSet
protected int preferredSizeInRows
protected java.util.Hashtable calculedColumns
protected java.util.Vector originalCalculatedColumns
protected boolean modifiableCalculatedColumns
protected java.util.Vector requiredColumnsCalculedColumns
protected java.util.Vector columnsToOperate
protected java.util.Vector columnsToSum
protected CurrencyCellRenderer currencyRenderer
protected DateCellRenderer hourRenderer
protected boolean visibleRowNumberColumn
protected boolean autoFixHead
protected TableAttribute attributeTable
protected int rowsNumberToQuery
protected PageFetcher pageFetcher
protected java.lang.String detailFormTitleKey
protected java.lang.String dinamicFormClass
protected DynamicFormManager dynamicFormManager
protected Table.RefreshThread refreshThread
protected Table tAux
protected FormPermission visiblePermission
protected FormPermission enabledPermission
protected FormPermission insertPermission
protected FormPermission queryPermission
protected Table.ComponentsPermissionsStore tableComponentPermission
protected boolean tableOpaque
protected java.awt.Color tableBackgroundColor
public static boolean defaultTableOpaque
public static java.awt.Color defaultTableBackgroundColor
protected boolean disableInsert
protected Table.InfoFilterButtonsModelListener actButtonsModelListener
protected TipScroll tipScroll
protected boolean tipScrollEnabled
protected SumRowSetupDialog sumRowSetupDialog
protected com.ontimize.gui.table.VisibleColsSetupDialog visibleColsSetupDialog
protected java.awt.event.MouseAdapter popupListener
showPopupMenu(int, int)protected javax.swing.event.ListSelectionListener selectionListener
protected TableFrame[] windowCache
protected java.awt.event.MouseAdapter listMouseListener
protected java.lang.String userPrefs
protected boolean restricted
protected EntityReferenceLocator locator
protected java.util.Vector editionListeners
protected CellRenderer.CellRendererColorManager cellRendererColorManager
protected CellRenderer.CellRendererFontManager cellRendererFontManager
protected ExtendedJPopupMenu menuOrderFilterSetup
protected java.awt.event.ActionListener sortFilterOrderItemListener
protected java.awt.event.ActionListener orderFilterSetupDeleteItemsListener
protected javax.swing.JMenuItem menuDefaultOrderSetup
protected javax.swing.JMenuItem menuSaveDefaultOrderConfiguration
protected javax.swing.JMenuItem menuSave
protected static java.lang.String loadDefaultConfigurationKey
protected static java.lang.String saveAsDefaultConfigurationKey
protected static java.lang.String saveKey
protected Table.EditorManager cellEditorManager
protected Table.RendererManager cellRendererManager
protected Table.ListenerItem listener
protected Table.DeleteItemListener deleteListener
protected boolean prefWidthAndPosApply
protected ReportUtils ru
public static final java.lang.String BUTTON_PIVOTTABLE
protected TableButton buttonPivotTable
protected javax.swing.JDialog dPivot
protected ExtendedJPopupMenu menuPivotTableSetup
protected javax.swing.JMenuItem menuSavePivot
protected static java.awt.event.ActionListener prefPivotTableItemListener
protected static java.awt.event.ActionListener deletePrefPivotTableItemListener
| Constructor Detail |
public Table(java.util.Hashtable params)
throws java.lang.Exception
Table with the default configuration. This
method creates the layout and calls the methods that configures the table.
The table is a component to represent database information in a grid, with
several functionalities such as sorting, filtering, visible column
configuration, data export, etc.
params -
java.lang.Exceptioninit(java.util.Hashtable),
createTable(),
setRenderers(),
#setScrollHorizontal,
setVisibleColumns(),
createPopupMenu(),
installScrollListener(),
#configureQueryPanel,
#setButtonsTips| Method Detail |
protected void changeOpacity(javax.swing.JComponent c,
boolean opaque)
protected void initRendererEditors()
public java.lang.Object getConstraints(java.awt.LayoutManager parentLayout)
getConstraints in interface FormComponentparentLayout - the parent container reference
public void init(java.util.Hashtable parameters)
throws java.lang.Exception
Hashtable
contains the values set in the XML in which the Table is
placed.
More parameters in:
configureButtons(Hashtable params) where all table button icons are configured.
-SortTableCellRenderer.init(Hashtable) where are additional configurations for table header.configureQuickFilter(Hashtable) where it is possible to manage additional graphical configurations for quickfilter box.
The attributes allowed are:
| attribute | values | default | required | meaning |
| autoadjustheader | yes/no | yes | Allows the TableHeader to adjusts its height to the FontText in order to see the the text when the font size changes. | |
| calculedcols | colname1;exp1;.....;colnameN;expN | The value is a string with the name of the new column and the math
expression that will be used in each column. With this, the Table will
have new columns calculated on the client side according to the
expression. For example calculedcols=total;number*units This will create a new column named total which value will be the multiplication of number and units. This columns must be too in visible cols if you want to show them in the table but you don't have to add this names in cols |
||
| calculedcolsrequiredfields | colname1;...;colnameN | Required columns in the table for the calculed colums. When these required columns has a null value, the calculed colum involving it will show a null value as well. | ||
| cods | codtable1;coddetail1;codtable2;coddetail2;...;codtablen;coddetailn | Establishes a correspondence between a table column and a field in detail form. | ||
| cols | colname1;...;colnameN | yes | The names of the columns that this table will query and handle. | |
| confvisiblecols | yes/no | Indicates whether user will be able to configure visible columns. | ||
| controls | yes/no | yes | Allows the Table to have some control buttons, in the top of it. This buttons, by default, can export to excel the data in the table, show charts, reports, and so on. If the value is not, the controlsvisible attribute will not affect. | |
| controlsvisible | yes/no | yes | Shows the table controls. See the controls attribute. |
|
| currency | colname1;...;colnameN | This attribute specifies the columns that will be renderer as a
currency, using a renderer to do that. See
CurrencyCellRenderer. |
||
| customcharts | yes/no | yes | Activates a Table default functionality tha can represent the Table information using graphical charts. | |
| defaultnewwindow | yes/no | no | If the table has a detail form set, with this then in which the window
will be open can be controled. There are two ways of opening a new window:
as a dialog that blocks the applicacion in backgroung (default), or as a
window itself. With this the default behaviour can be change. Pressing the 'Shift' while opening the window the non-default behaviour will be chosen. If the attribute opennewwindow is set, |
|
| deletebutton | yes/no | no | Activates the functionallity of deleting records directly from the
Table, instead using the detail form to do that. |
|
| disableinsert | yes/no | no | Activates the functionallity of inserting records directly from the
Table using the detail form to do that. Is is set to
yes no records can be inserted using this table amd the
button to that, a small one in a top-right corner od the
Table will be deactivated. |
|
| dynamicform | none |
name of the class which provides the form dynamc names. The contructor without parameter will be used to do so. No one set by default. | ||
| dynamic | yes/no | no | Defines a new type of table: a dynamic table where columns are
inferred from value setted in the setValue(Object) method, not
defined in xml. |
|
| translateheader | yes/no | By default, if table is 'dynamic' fixes translateheader='no', in other case always is translated. | no | Defines whether columns in table header are translated. |
| editablecolumns | colname1;...;colnameN | no | Columns that can be edited directly within the Table. By
default, the database will not be updated. This can be used with a Editor
to update the record. |
|
| entity | yes | Name of the entity related to the Table |
||
| fixattr | field1;...;fieldN | 1 | If the Table has detail form, with this parameter, when
the detail form is open, the Table will pass the field values
of the parent form (this is, the form in which the table is placed) to the
detail form, to fit them, not allowing them to be modified. |
|
| fontsize | Integer | Sets the printing font size. The values can be from 1 up to 7 (more is too big). | ||
| form | no | Name of the form that will be open to show the Table
information. By default, this form will be open by double-clicking a
record of the Table or when pressing the Table
insert button. |
||
| inserttable | yes/no | no | no | Defines the table as a autoinsertable table. The last row in this
table allows to insert records directly into database. See
configureInsertTable(Hashtable) |
| key | when multiple key | Name of the entity primary key, when the key is a single value. | ||
| keys | Additional key names, when the key is multiple. The getKeys()
methid will return the key and the keys values. |
|||
| memoryentity | Name of the Entity related to the Table. In this case the
entity is a local one, stored un the client memory, to perform local
operations that do not need a database interaction. |
|||
| numrowscolumn | yes/no | yes | Shows or hide a column containing the row numumber | |
| opennewwindow | yes/no | no | Activates the functionality to open the detail form in a new window.
See the defaultnewwindow attribute. This option can be set to the whole
application by setting the Table variable
SHOW_OPEN_IN_NEW_WINDOW_MENU. |
|
| field1;...;fieldN | Name of the other fields that are parentkeys, that are passed to the
detail form when it is open. These values will be get from the parent
form, in which the Table is placed. |
|||
| Foreing key column name. | ||||
| parentkeys | fieldpk1:fieldentitypk1;fieldpk2:fieldentitypk2;...fieldpkn :fieldentitypkn (since version 5.2058EN) | yes | The field that is parentkey and correspondent associated field in entity. It is accepted to indicate only the fieldpki when it is equal to fieldentitypki, e.g. : fieldpk1;fieldpk2:fieldentitypk2 ;...fieldpkn:fieldentitypkn | |
| pivotbutton | yes/no | no | Allows the pivot functionality, to work with the information in the
Table |
|
| queryrows | Integer | no | A positive value in this parameter converts the table into a pageable. This value indicates the number of records to query for each page. | |
| quickfilter | yes/no | yes | Allows the quick filter functionality. | |
| quickfiltervisible | yes/no | yes | Shows or hide the quick filter component. | |
| refreshbutton | yes/no | no | Add the refreshbutton to the table to allow the user to refresh the
Table. |
|
| rendermemo | colname1;...;colnameN | Selects the columns to add a RederMemo, this is, the columns that stores long texts. | ||
| reportcols | colname1;...;colnameN | Same columns that visiblecols |
no | Selects the columns that will be showed in report dialog to print custom reports. |
| rendertime | Determines the columns that will have a time render. | |||
| rows | Integer | 10 | Default width for the table header | |
| scrollh | yes/no | no | Allows the Table to have a horizontal scroll. This is
useful in Table with several columns to display and there is
no room enough for all of them. |
|
| sumrow | Columns to sum at the botton of the Table, in a new row. |
|||
| title | the same value than entity attribute | The title that the detail form will have when open. | ||
| updateentityeditablecolumns | the same value than cols attribute | Columns that will update the changes in the database when the user change the values stored in those. | ||
| visiblecols | The columns that will be show in the Table among all the
table columns. |
|||
| defaultvisiblecols | The default columns that will be show in the Table when
user preferences don't exist. |
|||
| opaque | yes/no | yes | Parameter to set all the componets in the table opaque or not | |
| minrowheight | Integer | Table.MIN_ROW_HEIGHT | Sets the minimun row height | border | default/none/raised/lowered or a color defined in
ColorConstants. Moreover, it is also allowed a border
defined in #BorderManager |
no | The border for Table | vscroll | yes/no | yes | Vertical scroll for Table component |
| vscrollwidth | Integer | 20 | Width for vertical scroll | |
| showgrid | yes/no | no | no | Show grid lines in table |
| renderers | col1:renderer1;col2:renderer2;...;coln:renderern | no | Definition of columns and associated renderers. Renderer identifiers are defined in external file. | |
| editors | col1:editor1;col2:editor2;...;coln:editorn | no | Definition of columns and associated editors. Editor identifiers are defined in external file. | |
| backgroundformbuilder | yes/no | yes | no | Establishes if the detail form is built in a background thread.(Since 5.2060EN-0.5) |
| onsetvalueset |
fieldonset1:function(tablecolumn1);fieldonset2:function(tablecolumn2);...;fieldonsetn:tablecolumnn
Function can have the next values: SUM;MAX;MIN;AVG;CONCAT (since version 5.2060EN-0.6) |
no | Field attributes whose value will be set when table data change. |
init in interface FormComponentparameters - the hashtable with pairs (Key,Value). For example:
| Key | Value |
| align | center |
| attr | attribute |
| ... | ... |
java.lang.Exception - when Exception occurspublic java.lang.String getDebugInfo()
public java.lang.String getToolTipText(java.awt.event.MouseEvent e)
protected void configureInsertTable(java.util.Hashtable params)
params - the Hashtable with parameters
The attributes allowed are:
| attribute | values | default | required | meaning |
| requiredcols | requiredcol1;requiredcol2;...;requiredcoln | no | Required cols in table | |
| insertablecols | inserttablecol1;inserttablecol2;...;inserttablecoln | All columns (when is insertable='yes') | no | Columns of table that are insertables |
| databaseinsert | yes/no | yes | no | Indicates whether insert operations are executed directly in database. |
| databaseremove | yes/no | yes | no | Indicates whether remove operations are executed directly in database. |
| showtotalinserting | yes/no | yes | no | Indicates whether the row at bottom to show total operation results is showed. Note: This
parameter is read in TableSorter constructor |
public void removeAllCharts()
ChartUtilitiespublic void removeChart(java.lang.String description)
description - the chart to remove descriptionChartUtilities
public void configureChart(java.lang.String xLabel,
java.lang.String yLabel,
java.lang.String xColumn,
java.lang.String[] yColumns,
java.lang.String[] series,
java.lang.String descr,
int type)
xLabel - the text corresponding to the x axis labelyLabel - the text corresponding to the y axis labelxColumn - the column displayed in the x axisyColumns - the columns displayed in the y axisseries - descr - a chart descriptiontype - the chart type. Values can be be
ChartUtilities.configureChart(String , String , String , String[] ,
String[] , String , int )
public void configureChartXDate(java.lang.String xLabel,
java.lang.String yLabel,
java.lang.String xColumn,
java.lang.String[] yColumns,
java.lang.String[] series,
java.lang.String descr,
int interval)
xLabel - the text corresponding to the x axis labelyLabel - the text corresponding to the y axis labelxColumn - the column displayed in the x axisyColumns - the columns displayed in the y axisseries - descr - a chart descriptioninterval - the time interval. Values can be be
ChartUtilities.configureChartXDate(java.lang.String, java.lang.String, java.lang.String, java.lang.String[], java.lang.String[], java.lang.String, int)
public void configureChartXDate(java.lang.String xLabel,
java.lang.String yLabel,
java.lang.String xColumn,
java.lang.String[] yColumns,
java.lang.String[] series,
java.lang.String descr,
int interval,
boolean fillZeros)
xLabel - the text corresponding to the x axis labelyLabel - the text corresponding to the y axis labelxColumn - the column displayed in the x axisyColumns - the columns displayed in the y axisseries - descr - a chart descriptioninterval - the time interval. Values can be be
fillZeros - public void showChart(java.lang.String description)
description - chart descriptionprotected void installChartButton()
protected void showChartMenu(java.awt.event.ActionEvent e)
e - event that launched the request to open the chart menupublic EntityResult getValueToExport()
public EntityResult getValueToExport(boolean calculatedRow,
boolean translateHeader)
calculatedRow - To include or not the calculated rowtranslateHeader - To translate or not the header titles. If you use this option
with true, the translations of the column names must be all
diferent
public EntityResult getValueToExport(boolean calculatedRow,
boolean translateHeader,
boolean useNoStringKeys)
calculatedRow - To include or not the calculated rowtranslateHeader - To translate or not the header titles.useNoStringKeys - When you are translating the header values you need to put an
Object diferent of a String as key to avoid duplicated keys (to
string with the same translation)
public java.lang.Object getValueToReport()
public java.lang.String getExcelString()
public java.lang.String getHTMLString()
public java.lang.String getCellValueAsString(int row,
int column)
row - Row numbercolumn - Column number
public java.lang.Object getCellRenderedValue(int row,
int column)
row - The current rowcolumn - The current column
public java.util.Vector getAttributeList()
public void deleteData()
deleteData in interface DataComponentpublic int[] initColumnsWidth()
preferredSizeInRows
initColumnsWidth()public int[] initColumnsWidth(int columnsWidth)
columnsWidth - the default column width
setPreferredTableColumnWidths()public boolean isVisibleColumn(java.lang.String columnName)
columnName - the column name
public void packTable()
protected void setPreferredTableWidth()
protected java.util.Vector getOperationColumns()
public void setValue(java.lang.Object value)
value must be a Hashtable, an
EntityResult or an AdvancedEntityResult.
setValue in interface DataComponentvalue - the object with value to setsetInnerValue(java.lang.Object)
public void setValue(java.lang.Object value,
boolean autoSizeColumns)
value must be a Hashtable, an
EntityResult or an AdvancedEntityResult.
value - the value to setautoSizeColumns - if true, the column size will be adjusted to its new contentsprotected void setInnerValue(java.lang.Object value)
value - the datasetInnerValue(Object, boolean)
protected void setInnerValue(java.lang.Object value,
boolean autoSizeColumns)
value - new information to be displayed and managed by the tableautoSizeColumns - when true, the columns size will be adjusted to the column
contentsprotected void checkNumberColumnVisibility(java.lang.Object value)
protected void setDynamicTableConfiguration(java.lang.Object value)
public java.lang.Object getValue()
TableSorter.
getValue in interface DataComponentpublic java.lang.Object getShownValue()
TableSorter#getShowedValuepublic java.lang.Object getShownValue(java.lang.String[] cols)
public java.lang.Object getAttribute()
TableAttribute instance.
getAttribute in interface IdentifiedElementprotected java.util.Vector getSQLOrderList()
public java.lang.String getEntityName()
public java.lang.String getLabelComponentText()
DataComponentLocale.
getLabelComponentText in interface DataComponentpublic void setEditable(boolean editable)
showHorizontalLines is
true it does; if it is false it doesn't.
editable - public java.util.Vector getPrimaryKeys()
getAllPrimaryKeys()
getAllPrimaryKeys()public java.util.Hashtable getAllPrimaryKeys()
public java.util.Hashtable getAttributesAndKeysData()
public java.lang.String getKeyFieldName()
public java.util.Vector getKeys()
public java.lang.String getParentKeyFieldName()
init(java.util.Hashtable)public java.util.Vector getTextsToTranslate()
getTextsToTranslate in interface Internationalizationpublic void setResourceBundle(java.util.ResourceBundle resourceBundle)
Internationalization
setResourceBundle in interface InternationalizationresourceBundle - the new language bundle.public boolean isEmpty()
isEmpty in interface DataComponentpublic boolean isModifiable()
isModifiable in interface DataComponentpublic boolean isRequired()
isRequired in interface DataComponentpublic void setRequired(boolean req)
setRequired in interface DataComponentreq - the required conditionpublic void setModifiable(boolean modif)
setModifiable in interface DataComponentmodif - the boolean conditionpublic int getSelectedRow()
public java.lang.Object getRowKey(int rowIndex)
rowIndex -
public java.lang.Object getRowKey(int rowIndex,
java.lang.String keyName)
rowIndex - the index of the rowkeyName - the key name
public java.lang.Object getRowValue(int rowIndex,
java.lang.String modelColumnIndex)
rowIndex - the row index in the modelmodelColumnIndex - the column index in the model
public boolean existsSumRow()
hasSumRow()public java.util.Hashtable getRowKeys(int rowIndex)
#Hashtable containing the keys as the Hashtable keys, and the key
value in the TableModel as value for each entry in the Hashtable.
In case that the asked key is not present in the model, the key will not be in the result Hashtable.
rowIndex - the model row index that specifies the row to query
public void deleteRows(int[] rowIndex)
rowIndex - an array with the model indexes to deletepublic void deleteRow(int rowIndex)
rowIndex - the index of the row to delete in the Modelpublic void deleteRow(java.lang.Object key)
deleteRow(Hashtable)public void deleteRow(java.util.Hashtable keysValues)
keysValues - stores pairs key-value that defines the record to deletepublic int getRowForKeys(java.util.Hashtable keysValues)
keysValues - the values for the keys that defines the queried row.
public int[] getRowsForKeys(java.util.Hashtable[] keysValuesToQuery)
Each Hashtable must have, for every element, as key a column name (that is, a table's key) and as value the concrete value corresponding to that key.
The indexes of all these coincidences will be returned in the response int array.
keysValuesToQuery - an array of #Hashtable that stores in each element the
keys-values combination to search
public int convertRowIndexToModel(int viewRowIndex)
viewRowIndex - the row index in the view
public void setSelectedRow(int viewRowIndex)
viewRowIndex - the index of the row in the viewprotected boolean checkBoundRow(int rowIndex)
rowIndex -
public void setSelectedRows(int[] viewRowIndex)
viewRowIndex - [] indexes of the rows in the viewpublic void setComponentLocale(java.util.Locale locale)
setComponentLocale in interface InternationalizationLocalepublic boolean isEnabled()
isEnabled in interface FormComponentpublic void setEnabled(boolean enabled)
setEnabled in interface FormComponentenabled - true if this component should be enabled, false otherwiseprotected void evaluateButtonsState()
public boolean isHidden()
isHidden in interface DataComponentpublic void setParentFrame(java.awt.Frame frame)
setParentFrame in interface OpenDialogframe - the frame that will be used as parent frame for the dialogs.public void setFormBuilder(FormBuilder builder)
FormBuilder that the table will use to build the detail
form
setFormBuilder in interface CreateFormsbuilder - the FormBuilder that will be used to create the detail
formpublic javax.swing.JTable getJTable()
public void setParentForm(Form form)
setParentForm in interface AccessFormform - the form that contains the tablepublic Form getParentForm()
#Formpublic java.util.Hashtable getPrintingData(java.util.Vector askedColumns)
#Hashtable in which the keys will be the columns asked as a method
parameter, and the values are #Vector of String containing the
printable data for each column.
If the column asked is not in the table, the response will not contain that column.
The values in the response will be renderized to convert the value stored in the table to the String suitable to be printed, according to the locale and data type.
askedColumns - the column names
protected java.lang.String getRowText(int rowIndex)
rowIndex -
public java.util.Hashtable getPrintingData()
#Hashtable with all the data of the visible columns.
#Hashtable with all the data of the visible columns.getPrintingData(Vector)
public void free()
throws java.lang.Exception
free in interface Freeablejava.lang.Exception
protected void finalize()
throws java.lang.Throwable
Used only as a log method.
java.lang.Throwablepublic int getSQLDataType()
java.sql.Types.OTHER
getSQLDataType in interface DataComponentInteger typepublic void setModified(boolean modif)
modif - public boolean isModified()
isModified in interface DataComponentpublic java.util.Vector getOrderColumnName()
#Vector with the column names of all the visible
columns. The column order is the same they have in the ColumnModel
#Vector containing the visible column names in the same
order in which they are been displayedpublic void disableInsert()
public void enableInsert()
checkInsertPermission()public java.util.Hashtable getRowData(int rowIndex)
#Hashtable with pairs key-value, where the keys are the column
names, containing the row data. If the table is filtered, returns the data
as well.
rowIndex - the model index for the column
#Hashtable with the row datapublic java.util.Hashtable getRowDataForKeys(java.util.Hashtable keysValues)
public java.util.Hashtable getGroupedRowData(int rowIndex)
rowIndex - the model row index
public java.util.Hashtable getCalculatedRowData(int rowIndex)
rowIndex -
public void enableSort(boolean enable)
enable - if true sorting is enabled. If false, the functionality will be
disabled.public void update()
protected void setRenderers()
| class | render |
| Timestamp.class, java.sql.Date.class, java.util.Date.class | #DateCellRenderer |
| Boolean.class | #BooleanCellRenderer |
| Float.class, Double.class, Number.class | #RealCellRenderer |
| BytesBlock.class | #ImageCellRenderer |
| Object.class, String.class | #ObjectCellRenderer |
#JTableprotected void setEditors()
public void setRendererForColumn(java.lang.String column,
javax.swing.table.TableCellRenderer renderer)
column - the column that will be configured with the rendererrenderer - the renderer to setsetRendererForColumnExp(java.lang.String, javax.swing.table.TableCellRenderer)public javax.swing.table.TableCellRenderer getRendererForColumn(java.lang.String column)
column -
public javax.swing.table.TableCellEditor getEditorForColumn(java.lang.String column)
public javax.swing.table.TableCellRenderer[] getDefaultRenderers()
public void setRendererForColumnExp(java.lang.String column,
javax.swing.table.TableCellRenderer renderer)
column - the column namerenderer - the renderer to be setpublic void showCurrencyValue(int currencyType)
CurrencyCellRenderer are used
showCurrencyValue in interface SelectCurrencyValuespublic void enableFiltering(boolean enable)
enable - if true, the table allows to filter; if false, filtering will be
disabledpublic boolean isFilteringEnabled()
protected void setTip()
public java.lang.Object getParentKeyValue()
Form.getDataFieldValue(java.lang.String),
getParentKeyFieldName(),
init(java.util.Hashtable)public java.lang.String getColumnName(int viewColumnIndex)
viewColumnIndex.
viewColumnIndex - the column in the view being queried
column in the view
where the first column is column 0protected void createPopupMenu()
showPopupMenu(int, int)public void openInNewWindow(int[] modelSelectedRows)
modelSelectedRows - contains the model row indexes to open the detail formpublic boolean hasSumRow()
TableSorter.isSum()public boolean isSumRow(int rowIndex)
rowIndex -
protected void showPopupMenu(int x,
int y)
x - y - protected void createChartUtilities()
protected void createDetailForm()
public java.lang.String getDetailFormSizePreferenceKey()
protected EntityResult deleteEntityRow(int rowIndex)
throws java.lang.Exception
rowIndex - the row index
java.lang.ExceptionEntity.delete(Hashtable, int)public int[] getSelectedRows()
public int getSelectedRowsNumber()
protected void changeToTableView()
public void changeView()
public void addRow(java.util.Hashtable rowData)
rowData - a #Hashtable containing the data to addTableSorter.addRow(java.util.Hashtable)
public void addRow(int row,
java.util.Hashtable rowData)
rowData - a #Hashtable containing the data to addrow - the position in the model in which the row will be addedTableSorter.addRow(int, Hashtable)
public void addRows(int[] rows,
java.util.Vector rowsData)
rows - and array with the position of the rows in which the new rows
will be insertedrowsData - a #Vector containing #Hashtable. Each position
of the Vector is a Hashtable containing information for a rowaddRows(Vector),
TableSorter.addRows(int[], Vector)public void addRows(java.util.Vector rowsData)
rowsData - a #Vector containing #Hashtable. Each position
of the Vector is a Hashtable containing information for a rowTableSorter.addRows(Vector)public void refreshRows(int[] viewRowIndexes)
viewRowIndexes - the row indexespublic void refreshRow(int viewRowIndex)
viewRowIndex - the index to refresh
public void refreshRow(int viewRowIndex,
java.util.Hashtable oldkv)
viewRowIndex - the index to refresholdkv - public void resetOrder()
public void refresh()
public void refreshEDT()
public void refresh(boolean autoSizeColumns)
autoSizeColumns - if true, resizes the column widthpublic void refreshEDT(boolean autoSizeColumns)
autoSizeColumns - public void refreshInThread(int delay)
delay - the length of time to sleep in millisecondspublic void updateUI()
public void setLineRemark(boolean lineRemark)
lineRemark - true if odd and even lines must be remarked, false otherwisepublic boolean isFiltered(int viewColumnIndex)
viewColumnIndex -
public boolean isFiltered()
public boolean isGrouped()
public void setFont(java.awt.Font newFont)
newFont - the desired Font for this componentComponent.getFont()protected int calculatePreferredRowHeights()
protected TableSorter createTableSorter(ExtendedTableModel model)
model - the model
protected ExtendedTableModel createExtendedTableModel()
protected javax.swing.JTable createTable()
Table
JTable contained by the Table
protected EJTable createEJTable(TableSorter sorter,
java.util.Vector visibleColumns)
protected javax.swing.table.TableCellRenderer createTableHeaderRenderer(javax.swing.JTable table)
table -
protected void addTableHeaderRenderer(javax.swing.JTable table)
createTableHeaderRenderer(javax.swing.JTable) method and configures the
table header rendering
table - public void addTableHeaderMouseListener(javax.swing.JTable table)
table - the table which header will have the listener
protected javax.swing.table.TableColumn getResizingColumn(javax.swing.table.JTableHeader header,
java.awt.Point point,
int columnIndex)
header - the table headerpoint - a point coming from a mouse eventcolumnIndex - the columnIndex to compare return the TableColumn corresponding
to the columnIndex in case the mouse event was performed into
the column header; null otherwiseprotected void setScrollTooltipText()
protected void installScrollListener()
#MouseMotionListener and a #MouseListener to
the vertical scroll, in order to control the tip.
protected void showTipScroll(javax.swing.JScrollBar scrollBar,
int x,
int y,
int viewRowIndex)
scrollBar - x - y - viewRowIndex - protected java.lang.String getScrollText(int viewRowIndex)
viewRowIndex -
protected void hideTipScroll()
protected void setVisibleColumns()
Table init process.
protected boolean isColumnWidthFixed(java.lang.String column)
column -
public TableComponent getTableComponentReference(java.lang.Object key)
TableComponent
interface, stored in the table {link #controlsPanel}, specified by the
key. For example, elements such a TableButton and
TableButtonSelection implements this interface.
key - the key of the TableComponent
public java.util.List getTableComponentReferences()
public void setTableComponentEnabled(java.lang.String key,
boolean enabled)
key - the name of the componentenabled - true if the component should be enabled, false otherwisecheckComponentTablePermission(java.lang.Object, java.lang.String)
public void setTableComponentVisible(java.lang.String key,
boolean visible)
key - the component namevisible - true if this component should be enabled, false otherwiseprotected void configureQuickFilter(java.util.Hashtable params)
params - the Hashtable with parameters
The attributes allowed are:
| attribute | values | default | required | meaning |
| quickfilterfont | no | Font for quickfilter text | ||
| quickfilterfontcolor | black | no | Color for quickfilter font | |
| quickfilterborder | no | Specific border for quickfilter | ||
| quickfilteremptyfont | no | Font for message showed when user does not type any value to search. |
protected void configureButtons(java.util.Hashtable params)
changeButtonIcon(JButton, String, boolean, boolean, MouseListener)
for each table button.
params - the Hashtable with parameters
The attributes allowed are:
| attribute | values | default | required | meaning |
| borderbuttons | yes/no | yes | no | Defines whether table buttons have border or not. |
| opaquebuttons | yes/no | yes | no | Defines whether table buttons are opaque or not. |
| highlightbuttons | yes/no | yes | no | Defines whether buttons are highlighted when mouse is entered over them. |
| changeviewicon | no | Path to this Table icon | ||
| copyicon | no | Path to this Table icon | ||
| excelicon | no | Path to this Table icon | ||
| htmlicon | no | Path to this Table icon | ||
| inserticon | no | Path to this Table icon | ||
| printicon | no | Path to this Table icon | ||
| deleteicon | no | Path to this Table icon | ||
| refreshicon | no | Path to this Table icon | ||
| charticon | no | Path to this Table icon | ||
| visiblecolsicon | no | Path to this Table icon | ||
| sumrowicon | no | Path to this Table icon | ||
| savefiltericon | no | Path to this Table icon | ||
| calculatedcolsicon | no | Path to this Table icon | ||
| defaultcharticon | no | Path to this Table icon | ||
| reporticon | no | Path to this Table icon |
protected void changeButtonIcon(javax.swing.JButton button,
java.lang.String iconpath,
boolean borderButtons,
boolean opaqueButtons,
java.awt.event.MouseListener listenerHighlightButtons)
protected void installButtonsListener()
protected boolean isFrame()
protected void detail(java.awt.event.InputEvent event)
event - protected void checkRefreshThread()
public void openDetailForm(int rowIndex)
DetailForm with the data related to the row passed
as parameter. The form will be open in the UPDATE mode.
In case that the row is a sum row, the form will not be open. If the table is grouped or the user has not permission to see the form, it will not be open neither.
rowIndex - the row which data will be shown in the formpublic void openInsertDetailForm()
DetailForm from in Insert mode. The user must have
permission to do that and the form must be specified.
public void setColumnEditor(java.lang.String col,
javax.swing.table.TableCellEditor editor)
col - the column nameeditor - the editor to setpublic void setEditableColumn(java.lang.String col)
Table.
The column will not be updated.
col - the column name
public void setEditableColumn(java.lang.String col,
boolean updateEntity)
Table. To
update the chages produced to this columns can be configuired.
col - the column nameupdateEntity - if true, the column will be updated
public void setEditableColumn(java.lang.String col,
boolean updateEntity,
boolean editable)
Table.
Updating the entity can be configured.
col - the column nameupdateEntity - if true, the column will be updatededitable - if true, sets the column editable, if false, will avoid the
column to be editablepublic java.lang.String getOrderColumn()
public java.lang.String[] getOrderColumns()
public boolean[] getAscendents()
public java.util.Vector getFilterColumn()
public boolean getAscending()
public void sortBy(java.lang.String column,
boolean ascendant)
column - the column that will be used for sortingascendant - true if the sorting will start with the smallest values, false
otherwise
public void sortByWithoutReset(java.lang.String column,
boolean asc)
column - the column that will be used for sortingprotected int[] setPreferredTableColumnWidths()
protected int getPreferredColumnWidth(int modelColumnIndex,
int maxRowNumber)
modelColumnIndex - the index of the columnmaxRowNumber - the max number of rows to check
protected int[] setPreferredTableColumnWidths(int maxRows)
maxRows - max number of rows to check
public boolean isRowNumberColumnVisible()
public void setRowNumberColumnVisible(boolean visible)
visible - true if the row number column should be visible, false otherwiseprotected int[] setPreferredTableColumnWidths(java.util.Vector visibleColumns)
visibleColumns - a vector containing the column names
protected int[] setPreferredTableColumnWidths(java.util.Vector visibleColumns,
javax.swing.JProgressBar progressBar)
visibleColumns - a vector containing the column namesprogressBar - a progress bar to show the process
public void printSilent(java.lang.String title)
title - public void print()
protected void copySelection()
protected void deleteGroup()
protected void insertGroup(int type)
type - the grouping type; see TableSorterprotected void insertGroup()
protected void insertFilterByValue()
protected void insertFilter()
FilterDialogprotected void deleteFilter()
protected void deleteColumnFilter()
protected void printSelection()
protected void copyCell()
public void setImageRendererHeight(int pixels)
pixels - the height in pixels for the image renderersImageCellRendererprotected void configurePageable(int pageSize)
pageSize - public int getCurrentRowCount()
In any case the sum column will not be considered.
public int getRealRecordsNumber()
public java.util.Hashtable getParentKeyValues()
#Hashtable in which the keys are the field names
configured as table parent keys (using the names in the table entity if
they are different that the form fields), and the values are the values
those fields have in the table's parent form.
getParentKeyValues in interface IFilterElementgetParentKeyValues(boolean)public java.util.Vector getParentKeyList()
getParentKeyList in interface IFilterElementpublic boolean hasParentKeys()
hasParentKeys in interface IFilterElementpublic java.util.Hashtable getParentKeyValues(boolean applyEquivalences)
#Hashtable in which the keys are the field names
configured as table parent keys, and the values are the values those
fields have in the table's parent form.
applyEquivalences - If this parameter is true then the names used as keys in the
result are the names of the parent keys in the table entity. If
false, then the names are the names of the fields in the parent
form
protected void setControlButtonsEnabled(boolean enabled)
enabled - true if the table header should enableprotected void setButtonTips()
public java.lang.Number getSumColumn(java.lang.Object col)
col - the column to sum
public DetailForm getDetailForm()
public void fitColumnSize(int column)
column - the column to set the sizeprotected void setTextsMenu()
public java.util.Hashtable getSelectedRowData()
#Hashtable. The #Hashtable keys are the table attributes,
and the values are #Vector with the row values.
protected boolean checkVisiblePermission()
protected boolean checkEnabledPermission()
protected boolean checkInsertPermission()
protected boolean checkQueryPermission()
protected boolean checkComponentTablePermission(java.lang.Object key,
java.lang.String type)
key has been restricted
by the permission type . If this method returns true the
table component will not be restricted by this permission
type.
For example, if the a call to this method with the type "visible" returns
true, then the component is visible.
- Parameters:
key - the key of the table component to be restrictedtype - the type of permission to be checked
- Returns:
- false the component are restricted
public void setVisible(boolean vis)
setVisible in interface FormComponentcheckVisiblePermissionpublic void initPermissions()
This method sets the client permission for the table, according to the client permissions XML profile. This is, checks whether the table can be visible or not, as well as whether the table is enabled or not.
The method checks some other permissions such as the query permission and the insert permission, which can allow insertions from the table.
initPermissions in interface SecureElementinitTableComponentPermissions()public void initTableComponentPermissions()
The table functionalities, accessible through the controlsPanel buttons, can be controlled using client permission. This implies that those buttons can be disabled or hidden using the client permission XML.
checkComponentTablePermission(java.lang.Object, java.lang.String)public void setScrollTipEnabled(boolean enable)
enable - true if the tip should be enabled, false otherwisepublic void toggleControls()
public void setControlsVisible(boolean visible)
visible - true if the table controls should be visible, false otherwise
public void setControlsVisible(boolean vis,
boolean savePreferences)
vis - true if the table controls should be visible, false otherwisesavePreferences - if true, the visibility set will be stored as application
preferencepublic void preferenceChanged(PreferenceEvent prefEvent)
preferenceChanged in interface ApplicationPreferencesListenerprefEvent - the event with the preference changesprotected java.lang.String getUser()
public void initPreferences(ApplicationPreferences aPrefs,
java.lang.String user)
Tables can remember their state between application execution. For instance things like visible columns, column size and order, and, in general, all the parameters that can be modified and changed bu the user can be reset by calling this method.
initPreferences in interface HasPreferenceComponent
protected void configureCalculatedCols(java.util.List calcColNames,
java.util.List expressions,
boolean savePreferences)
protected java.lang.String getCalculatedColsPreferenceStringValue()
public void setVisibleColumns(java.util.Vector visibleColumns)
visibleColumns - a Vector containing the column names to show.
public void setVisibleColumns(java.util.Vector visibleColumns,
boolean autoSizeColumns)
visibleColumns - a Vector containing the column names to show.autoSizeColumns - if true, the column size will be adjusted to its new contentsprotected javax.swing.Icon getButtonVisibleColsSetupIcon(boolean renderer)
protected java.lang.String getVisibleColumnsPreferenceKey()
protected java.lang.String getVisibleControlsPreferenceKey()
protected java.lang.String getFilterOrderConfPreferenceKey(java.lang.String columnName)
columnName - the column name
protected java.lang.String getFilterOrderConfigurationPreferenceKey()
protected java.lang.String getCalculatedColumnsConfPreferenceKey()
public java.util.Vector getVisibleColumns()
public java.util.Vector getReportColumns()
public void setReportColumns(java.util.Vector columns)
public java.util.Vector getOriginallyVisibleColumns()
#Vector with the visible columns specified in the XMLpublic java.util.Vector getOriginalSumRowCols()
#Vector with the sum row columns specified in the XMLpublic java.util.Vector getRealColumns()
#Vector with the column names that have been set as
visible columns in the XML, and that are visible in the table as well.
public java.util.Vector getCurrentColumns()
public java.util.Vector getCalculatedColumns()
public java.util.Vector getOriginalCalculatedColumns()
public boolean isModifiableCalculatedColumns()
public static boolean isChartEnabled()
protected static void checkChartEnabled()
public void addButtonToControls(javax.swing.AbstractButton button)
button - the button to add to the panel
public void addButtonToControls(javax.swing.AbstractButton button,
boolean useDefaultConfiguration)
protected void configureControlButton(javax.swing.AbstractButton button)
protected Table.QuickFieldText createQuickFilter()
public void removeButtonFromControls(javax.swing.AbstractButton button)
button - the button to removepublic void addComponentToControls(javax.swing.JComponent component)
#JComponent to the controls panel
component - the component to be addedpublic void removeComponentFromControls(javax.swing.JComponent component)
#JComponent from the controls panel.
component - the component to removepublic void updateRowData(java.util.Hashtable rowData)
#Hashtable with the
parameters contains both the keys that select the row and the values to be
updated.
rowData - TableSorter.updateRowData(java.util.Hashtable, java.util.Vector)
public void updateRowData(java.util.Hashtable rowData,
java.util.Hashtable newkv)
public void updateRowData(java.util.Hashtable rowData,
java.util.List columns,
java.util.Hashtable newkv)
public java.lang.String getHelpIdString()
getHelpIdString in interface HasHelpIdComponentpublic void installHelpId()
HelpUtilities
installHelpId in interface HasHelpIdComponentgetHelpIdString()public boolean isRestricted()
isRestricted in interface SecureElementpublic void setMemoryOperations(boolean inMemory)
inMemory - true if this component should perform operations in memory.
false otherwiseinit(java.util.Hashtable)public void addTableRowHeader(TableRowHeader tableRowHeader)
#TableRowHeader to the table. The #TableRowHeader
will be actually set in the scrollPane.
tableRowHeader - the TableRowHeader
public void applyFilter(java.lang.String columnName,
java.lang.Object[] values,
int condition)
SimpleFilter will be set. In case that values has a String or a
Boolean, a SimpleFilter will be applied, and in other case a
Table.TxtFileFilter will be set.
columnName - the column in which the filter will be appliedvalues - the values to make the filtercondition - the condition to filter
public void applyFilter(java.lang.String columnName,
java.lang.Object filter)
columnName - filter - must be an instance of the classes MultipleFilter,
Table.TxtFileFilter , SimpleFilter or DateFilterpublic void applyFilter(java.util.Hashtable filters)
filters - is a Hashtable containing the filters. The key is the columns
name and the value must be an instance of the classes
MultipleFilter, Table.TxtFileFilter , SimpleFilter ,
DateFilterTableSorter.applyFilter(Hashtable),
Table.TxtFileFilterpublic void resetFilter()
public void resetFilter(java.lang.String column)
column - the column namepublic void addColumn(java.lang.String column)
column - the column name
public void addCalculatedColumn(java.lang.String columnName,
java.lang.String expression)
expression - the column expression, for example SomeColumnName*5protected java.util.Hashtable getAllColumnRenderer()
protected java.util.Hashtable getAllColumnEditors()
protected void configureRenderEditor(java.util.Hashtable renderer,
java.util.Hashtable editor)
renderer - Key is the column name and value is the renderer to seteditor - Key is the column name and value is the editor to setpublic void deleteColumn(java.lang.String column)
column - the column namepublic void deleteCalculatedColumn(java.lang.String column)
column - the column nameprotected void setAttributesToFix()
protected void setHorizontalScroll(boolean scrollH)
Table. This allows the
Table to contain a big number of columns and display them.
scrollH - true to enable the scroll, false to disable itpublic java.util.Vector getParentKeys()
init(java.util.Hashtable)public java.util.Vector getParentKeys(boolean applyEquivalences)
public java.lang.Object getParentkeyEquivalentValue(java.lang.Object parentkey)
parentkey -
protected EntityResult updateTable(int rowIndex,
int viewColumnIndex)
throws java.lang.Exception
updateTable(Hashtable, int, TableCellEditor, Hashtable, Object)Must be used updateTable(Hashtable, int, TableCellEditor, Hashtable, Object)
rowIndex - the row indesviewColumnIndex - the column index in the model
java.lang.Exception
protected EntityResult updateTable(int rowIndex,
int viewColumnIndex,
java.util.Hashtable otherData)
throws java.lang.Exception
updateTable(Hashtable, int, TableCellEditor, Hashtable, Object)
rowIndex - the row indexviewColumnIndex - the column index in the modelotherData - other data to be updated in that entity
java.lang.Exception
protected EntityResult updateTable(int rowIndex,
int viewColumnIndex,
java.util.Hashtable otherData,
java.lang.Object previousData)
throws java.lang.Exception
updateTable(Hashtable, int, TableCellEditor, Hashtable, Object)
rowIndex - the row indexviewColumnIndex - the column index in the modelotherData - other data to be updated in that entitypreviousData -
java.lang.Exception
protected EntityResult updateTable(java.util.Hashtable keysValues,
int viewColumnIndex,
javax.swing.table.TableCellEditor tableCellEditor,
java.util.Hashtable otherData,
java.lang.Object previousData)
throws java.lang.Exception
keysValues - the values of the keysviewColumnIndex - the column index in the modeltableCellEditor - the editorotherData - other data to be updated in that entitypreviousData -
java.lang.Exceptionpublic void setReferenceLocator(EntityReferenceLocator referenceLocator)
setReferenceLocator in interface ReferenceComponentreferenceLocator - the EntityReferenceLocator
protected void configureComponentsLocator(java.util.Hashtable components,
EntityReferenceLocator locator)
protected void configureComponentsParentForm(java.util.Hashtable components,
Form parentForm)
public java.lang.String getFormName()
public boolean isGroup()
public void resetGroup()
public void setDefaultChartsEnabled(boolean enabled)
enabled is true it is; if it is false it is not.
enabled - true if default charting is enabledprotected void installConfSumRowButton()
protected void showConfSumRowDialog()
protected void installConfVisibleColsButtons()
protected void installDefaultChartsButton()
public java.util.ResourceBundle getResourceBundle()
public void setEnabledDetail(boolean enabled)
DetailForm of this component is
enabled.
enabled - true if this component should be enabled, false otherwisepublic boolean hasForm()
public boolean getEnabledDetail()
public boolean isSorted()
public int getViewOrderColumnIndex()
TableSorter.getFirstSortedColumn()protected boolean isAscending()
protected void fireEditingStopped(java.lang.Object value,
java.lang.Object previousValue,
int rowIndex,
int viewColumnIndex)
value - the new valuepreviousValue - the old valuerowIndex - the row that has been changedviewColumnIndex - the column that has been changed
protected void fireEditingWillStop(java.lang.Object value,
java.lang.Object previousValue,
int rowIndex,
int viewColumnIndex)
throws EditingVetoException
value - the new valuepreviousValue - the old valuerowIndex - the row that has been changedviewColumnIndex - the column that has been changed
EditingVetoException
protected void fireEditingCancelled(int rowIndex,
int viewColumnIndex)
rowIndex - the row that has been changedviewColumnIndex - the column that has been changedpublic void addTableEditorListener(TableEditorListener listener)
#TableEditorListener to the table.
listener - public void removeTableEditorListener(TableEditorListener listener)
#TableEditorListener from the table.
listener - the listener to removepublic void setAutoFixHead(boolean autoFixHead)
autoFixHead - true if the table header should auto adjustpublic void setVisibleColsConfigurationAllowed(boolean allowConfiguration)
allowConfiguration - true if the visible columns configuration should be enabled,
false otherwisepublic void setCellRendererColorManager(CellRenderer.CellRendererColorManager colorManager)
CellRenderer contained by the
table.
colorManager - the new color managerpublic void setCellRendererFontManager(CellRenderer.CellRendererFontManager fontManager)
CellRenderer contained by the
table.
fontManager - protected void deteleFilterOrderConfiguration(java.lang.String confName)
confName - the name given to the configuration when savedprotected void saveOrderFilterConfiguration(java.lang.String confName)
confName - the name given to the configuration
protected void saveFilterOrderConfiguration(java.lang.String confName,
boolean savePositionAndWidth)
confName - the name given to the configuration;savePositionAndWidth - if true, column position and width will be savedprotected void configureFilterOrder(java.awt.event.ActionEvent e)
e - the eventpublic void loadFilterOrderConfiguration(java.lang.String filterName)
filterName - public void setEditorManager(Table.EditorManager manager)
Table.EditorManager to the present Table.
manager - public Table.EditorManager getEditorManager()
Table.EditorManager configured in the present table.
public void setRendererManager(Table.RendererManager manager)
manager - Table.RendererManagerpublic Table.RendererManager getRendererManager()
Table.RendererManager configured for this table.
public void prepareEditor(javax.swing.table.TableCellEditor editor)
TableCellEditor
components
The method must be called to prepare all editors implementing ReferenceComponentInternationalizationAccessFormCachedComponent
editor - public void prepareRenderer(javax.swing.table.TableCellRenderer renderer)
TableCellRenderer
components
The method must be called to prepare all renderes implementing CellRendererReferenceComponentInternationalizationAccessFormCachedComponent
renderer - public boolean isDetailFormCreated()
protected void setDefaultFilter()
protected void installCalculedColsButton()
protected void showCalculatorWindow(java.lang.Object source)
source - protected void installReportButton()
protected void createReportSetupMenu()
protected java.lang.String createColumnPositionAndWidthPreference()
public void saveColumnsPositionAndWith()
public void saveOperations(java.util.Hashtable operations)
Table.
operations - contains the operations to storepublic void applyOperations()
TableSorter.setOperationColumns(java.util.Hashtable)public void saveVisibleControlsConfiguration()
protected boolean evaluateColumnsWidthAndPosition()
setWidthAndPositionColumns() method only is
called once.
protected boolean setWidthAndPositionColumns()
protected void applyColumnPositonAndPreferences(java.lang.String preference)
preference - the preference value to setprotected java.lang.String getOperationPreferenceKey()
protected java.lang.String getColumnsPosAndOrderPreferenceKey()
public javax.swing.JScrollPane getJScrollPane()
protected java.lang.String getCustomReportPreferenceKey()
public void showCustomReportsWindow()
public void showCustomReportsWindow(java.lang.String configuration)
configuration - the report descriptionprotected java.lang.String getFilterInfo()
protected void updateFilterInfo()
public int getColumnIndex(java.lang.String columnName)
columnName -
protected void evaluatePreferredRowsHeight()
protected void installPivotTableButton()
protected java.util.Hashtable getDetailWindowParameters()
protected void setPivotTablePreferences(javax.swing.JDialog pivotDialog)
pivotDialog - the dialog that contains the pivot tableprotected java.lang.String getPivotTablePreferenceKey(java.lang.String configurationName)
configurationName - the name of the concrete configuration
protected java.lang.String getPivotTablePreferenceKey()
protected void menuPivotTablePreferences(java.awt.event.ActionEvent e)
e - protected void loadPivotTableConfiguration(java.lang.String confName)
confName - the configuration nameprotected void deletePivotTableConfiguration(java.lang.String confName)
confName - the configuration nameprotected void savePivotTableConfiguration(java.lang.String confName)
confName - the configuration namepublic void setQuickFilterValue(java.lang.String text)
public Table.QuickFieldText getQuickFilter()
protected java.util.Hashtable getParameters()
public int getMinRowHeight()
public void setMinRowHeight(int height)
public int getPrintingFontSize()
public java.util.Vector getRequieredCols()
public void setInsertInDataBase(boolean insert)
insert - public void setInsertInDatabase(boolean insert)
public void setRemoveInDataBase(boolean insert)
public void setRemoveInDatabase(boolean remove)
public void setUpdateInDatabase(boolean update)
update - public boolean isDataBaseInsert()
public boolean isInsertingEnabled()
public void addInsertTableInsertRowListener(InsertTableInsertRowListener l)
addInsertTableInsertRowListener in interface InsertTableInsertRowChangepublic void removeInsertTableInsertRowListener(InsertTableInsertRowListener l)
removeInsertTableInsertRowListener in interface InsertTableInsertRowChangepublic void fireInsertTableInsertRowChange(InsertTableInsertRowEvent insertTableInsertRowEvent)
fireInsertTableInsertRowChange in interface InsertTableInsertRowChangepublic TableSorter getTableSorter()
public void checkInsertingRowValue()
throws java.lang.Exception
java.lang.Exceptionprotected java.util.Hashtable getInsertingData()
protected void executeInsertRow()
protected void registerKeyListeners()
public boolean isTranslateHeader()
public PageFetcher getPageFetcher()
public int getTemplateDataType()
ITemplateFieldITemplateField.DATA_TYPE_FIELD
ITemplateField.DATA_TYPE_IMAGE
ITemplateField.DATA_TYPE_TABLE
getTemplateDataType in interface ITemplateFieldint with the data type.public java.lang.Object getTemplateDataValue()
ITemplateField
getTemplateDataValue in interface ITemplateFieldprotected java.util.Hashtable retrieveOnSetValueData()
protected void updateOnSetValueSetAttributes(java.util.Hashtable data)
protected java.util.Hashtable parseFunction(java.util.Hashtable equivalences)
|
Ontimize | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||