public class FTable extends FPanel implements java.awt.event.MouseListener, java.awt.event.ActionListener, javax.swing.event.ListSelectionListener, InitialFocusCandidateI, QueryGUIListenerI, MDISizeI, FormElementListenerI, FTableConfigurationI, PopupableFormElementI, RootFormElementI, FormElementWithDisplayPropertyI, java.awt.event.FocusListener, de.ipcon.swing.ITableActionListenerI, LoadingStatusListenerI, CellDataProviderI, java.awt.event.ComponentListener
XMLConfigureInfoinhibitFocusChange, SCROLLING_MODE_ANY, SCROLLING_MODE_HORIZONTAL_ONLY, SCROLLING_MODE_VERTICAL_ONLY, TEXTURE_CENTERED, TEXTURE_REPEATTOOL_TIP_TEXT_KEY, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOWBOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTALL_ACTIONS, AVAILABLE_ACTION_KIND, CONTEXTMENU_ACTION_KIND, LOCAL_ACTION_KIND, MENU_ACTION_KIND, NO_LOCAL_ACTION_KIND, NO_TOPMDI_ONLY_ACTION_KIND, NOT_AVAILABLE_ACTION_KIND, REFRESH_FROM_TRANSACTION, REFRESH_FROM_USER, SHORTCUT_ACTION_KIND, TOOLBAR_ACTION_KIND, TOPMDI_ONLY_ACTION_KIND| Constructor and Description |
|---|
FTable(FormContextI _ftx,
electric.xml.Element _confroot) |
| Modifier and Type | Method and Description |
|---|---|
void |
_selectObjects(java.lang.Object[] objectsToSelect,
java.lang.Runnable andThen,
int rescheduledCount)
Performs the actual selection of objects in the table.
|
void |
_selectObjectWithId(java.lang.Long id)
Selects and moves focus to the object with the specified ID.
|
void |
_startEditing() |
boolean |
action_attachSelected_available() |
boolean |
action_attachSelected_enabled() |
void |
action_attachSelected()
Action which attaches every selected table row to the corresponding BO
Will ask for user's confirmation if more than x (currently 5) rows are selected
|
void |
action_close() |
boolean |
action_consolidate_available() |
boolean |
action_consolidate_enabled() |
void |
action_consolidate() |
boolean |
action_copy_available() |
boolean |
action_copy_enabled() |
void |
action_copy() |
boolean |
action_copyIds_available() |
boolean |
action_copyIds_enabled() |
void |
action_copyIds() |
boolean |
action_copyQuery_available() |
boolean |
action_copyQuery_enabled() |
void |
action_copyQuery() |
boolean |
action_deleteSelected_available() |
boolean |
action_deleteSelected_enabled() |
void |
action_deleteSelected() |
boolean |
action_detachSelected_available() |
boolean |
action_detachSelected_enabled() |
void |
action_detachSelected() |
boolean |
action_edit_available() |
boolean |
action_edit_enabled() |
void |
action_edit() |
boolean |
action_exportSelection_available() |
boolean |
action_exportSelection_enabled() |
void |
action_exportSelection() |
boolean |
action_exportToXls_available() |
boolean |
action_exportToXls_enabled() |
void |
action_exportToXls_new() |
void |
action_exportToXls() |
void |
action_focusSearchPanel() |
boolean |
action_insertElement_available() |
boolean |
action_insertElement_enabled() |
BO |
action_insertElement() |
BO |
action_insertElement(java.awt.event.ActionEvent a) |
boolean |
action_invertSelection_enabled() |
void |
action_invertSelection() |
boolean |
action_itemDown_available() |
boolean |
action_itemDown_enabled() |
void |
action_itemDown() |
boolean |
action_itemUp_available() |
boolean |
action_itemUp_enabled() |
void |
action_itemUp() |
boolean |
action_newElement_available() |
boolean |
action_newElement_enabled() |
BO |
action_newElement() |
BO |
action_newElement(java.awt.event.ActionEvent a) |
boolean |
action_newSearch_enabled() |
void |
action_newSearch() |
boolean |
action_openSelected_available() |
boolean |
action_openSelected_enabled() |
void |
action_openSelected() |
void |
action_openSelected(boolean _useAutomatic) |
void |
action_openSelected(boolean _useAutomatic,
java.lang.String tid) |
void |
action_openSelected(boolean _useAutomatic,
java.lang.String tid,
java.util.Map formParams) |
void |
action_openSelected(java.util.Map formParams) |
void |
action_openSelected(java.lang.String tid) |
boolean |
action_optimalColumnWidth_enabled() |
void |
action_optimalColumnWidth() |
boolean |
action_optimalColumnWidthAll_enabled() |
void |
action_optimalColumnWidthAll() |
boolean |
action_printSelected_available() |
boolean |
action_printSelected_enabled() |
void |
action_printSelected()
Prints the selected objects in the table using a user-selected report.
|
boolean |
action_refresh_available() |
boolean |
action_refresh_enabled() |
void |
action_refresh() |
boolean |
action_selectAll_enabled() |
void |
action_selectAll() |
void |
action_showPopupMenu() |
void |
action_showPopupMenu(java.awt.event.ActionEvent a) |
boolean |
action_sortColumn_enabled() |
void |
action_sortColumn() |
boolean |
action_stopLoading_available() |
boolean |
action_stopLoading_enabled() |
void |
action_stopLoading() |
boolean |
action_togglePivotMode_available() |
boolean |
action_togglePivotMode_enabled() |
void |
action_togglePivotMode() |
boolean |
action_toggleShowDeleted_available() |
boolean |
action_toggleShowDeleted_enabled() |
void |
action_toggleShowDeleted() |
boolean |
action_undeleteSelected_available() |
boolean |
action_undeleteSelected_enabled() |
void |
action_undeleteSelected() |
void |
actionPerformed(java.awt.event.ActionEvent a) |
void |
addColumnE(electric.xml.Element el)
allows to retroactively add a column via its most verbose (XML) definition.
|
void |
addColumns(java.lang.String s)
Adds columns based on the provided definition to the table.
|
void |
addColumns(java.lang.String s,
int insertAtIndex) |
void |
addPopupElementListener(PopupElementListenerI l) |
void |
afterAction_refresh() |
void |
afterSavePerformed(FormElementI fe) |
void |
afterSetValuePerformed(FormElementI fe,
java.lang.Object old,
java.lang.Object $new) |
void |
applyFilters() |
java.io.File |
askForExportToXLSFile()
opens a dialogue to ask the user to select a name and location for the excel file to create.
|
java.io.File |
askForExportToXLSFile(java.lang.String preselectedFileName) |
java.io.File |
askForExportToXLSFile(java.lang.String preselectedFileName,
boolean useHSSF) |
void |
autoSelectRows()
Automatically selects a row in the table after a data refresh or load operation.
|
void |
beforeSavePerformed(FormElementI fe) |
void |
beforeSetValuePerformed(FormElementI fe,
java.lang.Object old,
java.lang.Object $new) |
void |
build() |
void |
buildGUI() |
void |
bundleSelectedItems() |
void |
clearSelection() |
void |
close() |
void |
componentHidden(java.awt.event.ComponentEvent e) |
void |
componentMoved(java.awt.event.ComponentEvent e) |
void |
componentResized(java.awt.event.ComponentEvent e) |
void |
componentShown(java.awt.event.ComponentEvent e) |
void |
configureColumns() |
void |
configureColumns(int _sortColsIdxOffset) |
void |
configurePivot(java.util.List<java.lang.String> data,
java.util.List<java.lang.String> rows,
java.util.List<java.lang.String> columns)
pre-sets / preconfigures the pivot mode with the table columns to use as rows, columns and filters by default
Field names must be given as they are displayed.
|
void |
configurePivot(java.util.List<java.lang.String> data,
java.util.List<java.lang.String> rows,
java.util.List<java.lang.String> columns,
java.util.List<java.lang.String> filters) |
boolean |
containsObject(java.lang.Object o)
Determines if the table contains object o
|
boolean |
containsObjectWithId(java.lang.Long id)
Determines if the table contains an object with the given id
|
static BO |
createBOViaTemplateSelectionTree(Transaction _tx,
ClientContextI _ctx,
EntityI _creationEntity,
boolean _showEntityName) |
static BO |
createBOViaTemplateSelectionTree(Transaction _tx,
ClientContextI _ctx,
EntityI _creationEntity,
boolean _showEntityName,
java.util.Set<EntityI> _subentitiesToExclude) |
static BO |
createBOViaTemplateSelectionTree(Transaction _tx,
ClientContextI _ctx,
EntityI _creationEntity,
boolean _showEntityName,
java.util.Set<EntityI> _subentitiesToExclude,
java.lang.String _templateSource) |
static BO |
createBOViaTemplateSelectionTree(Transaction _tx,
ClientContextI _ctx,
EntityI _creationEntity,
boolean _showEntityName,
java.util.Set<EntityI> _subentitiesToExclude,
java.lang.String _templateSource,
boolean reload) |
static BO |
createBOViaTemplateSelectionTree(Transaction _tx,
ClientContextI _ctx,
EntityI _creationEntity,
boolean _showEntityName,
java.util.Set<EntityI> _subentitiesToExclude,
java.lang.String _templateSource,
boolean reload,
boolean uniqueEntities) |
BO |
createNewInDetailView() |
BO |
createNewInDetailView(java.awt.event.ActionEvent a) |
BO |
createNewInDetailView(java.awt.event.ActionEvent a,
netrexx.lang.Rexx lastItemNr) |
BO |
createNewItem() |
BO |
createNewItem(java.awt.event.ActionEvent a) |
void |
customizePivotDataTablePopup(javax.swing.JPopupMenu menu,
java.awt.Component target) |
void |
customizePivotPopup(javax.swing.JPopupMenu menu,
java.awt.Component target) |
void |
debugTiming(java.lang.String message) |
BO |
delegatedNewElement(java.awt.event.ActionEvent a) |
void |
displayLoading(boolean withStopButton) |
void |
displayReady() |
boolean |
displaysRelation() |
boolean |
displaysSortedItems() |
void |
displayStopping() |
void |
enablePivotSubtotals(java.util.List<java.lang.String> rowsOrColumns)
enables subtotals for rows or columns (assuming that those fields have already been set as rows or columns).
|
boolean |
eventFiredFromKeyboardHandling() |
void |
fastRefresh()
Deprecated.
- should happen automatically since messagebus enhancements
|
void |
fireColumnStructureChange() |
void |
fireProgressChange(int current,
int total,
java.lang.String text) |
void |
focusGained(java.awt.event.FocusEvent fe) |
void |
focusLost(java.awt.event.FocusEvent fe) |
java.util.LinkedHashMap |
getActions()
Retrieves a list of all actions associated with this MDI root element.
|
java.lang.String[] |
getAdditionalAutoRefreshEntities() |
java.lang.String |
getAdditionalAutoRefreshEntities(int $173) |
java.awt.Color |
getAlternateCellBackground() |
java.awt.Color |
getAlternateCellForeground() |
java.awt.Component |
getAsComponent() |
AttributeI |
getAttribute() |
java.util.HashMap |
getAttributeMap()
Returns the map of attributes supported by this FPanel.
|
java.awt.Color |
getCellBackground() |
java.awt.Color |
getCellForeground() |
java.lang.String |
getCellRenderedValueAt(int rowIndex,
int columnIndex)
Returns the rendered string from the column and row with the given indexes.
|
java.lang.Object |
getCellValueAt(int rowIndex,
int columnIndex)
Returns the object from the column and row with the given indexes.
|
float |
getCharacterUnitWidth()
Returns the character unit width.
|
FTableColumn |
getCol(int i) |
FTableColumn[] |
getCols() |
FTableColumn |
getCols(int $120) |
java.util.ArrayList |
getColsa() |
L10nDateFormat |
getColumnDisplayFormatAsL10nDateFormat(int columnIndex)
Returns the localized date format for the column with the given index if it contains a Date type.
|
L10nDecimalFormat |
getColumnDisplayFormatAsL10nDecimalFormat(int columnIndex)
Returns the localized decimal format for the column with the given index if it contains a Number type.
|
java.lang.String |
getColumnTitle(int columnIndex)
Returns the title of the column with the given index.
|
java.lang.Integer |
getColumnWidth(int columnIndex)
Returns the width of the column with the given index.
|
de.ipcon.form.FTable.CurrentSelection |
getCurrentSelection() |
de.ipcon.form.FTable.CurrentSelection |
getCurrentSelection(boolean returnAllForNoSelection) |
de.ipcon.form.FTable.CurrentSelection |
getCurrentSelection(boolean returnAllForNoSelection,
boolean forceAll) |
de.ipcon.form.FTable.CurrentSelection |
getCurrentSelection(javax.swing.JTable table) |
de.ipcon.form.FTable.CurrentSelection |
getCurrentSelection(javax.swing.JTable table,
boolean returnAllForNoSelection) |
de.ipcon.form.FTable.CurrentSelection |
getCurrentSelection(javax.swing.JTable table,
boolean returnAllForNoSelection,
boolean forceAll) |
java.util.LinkedHashMap |
getDefaultActionMap()
Returns the default action map for this FPanel.
|
java.lang.Boolean |
getDependent() |
FDetailView |
getDetailView() |
AttributeI |
getDisplayAttribute() |
java.lang.Class |
getDisplayClass() |
java.lang.String |
getDisplayProperty() |
electric.xml.Document |
getDoc() |
java.util.HashMap |
getElementMap()
Returns the map of elements supported by this FPanel.
|
EntityI |
getEntity() |
EntityI |
getEntityToCreate() |
EntityI |
getEntityToCreate(java.awt.event.ActionEvent a) |
EntityI |
getEntityToCreate(java.awt.event.ActionEvent a,
boolean onlyWithTemplateAndCreationRights) |
static EntityI |
getEntityToCreate(ClientContextI _ctx,
EntityI _creationEntity)
If the creationEntity does not have subentities and onlyWithTemplateAndCreationRights is false, it is returned.
|
static EntityI |
getEntityToCreate(ClientContextI _ctx,
EntityI _creationEntity,
java.util.Set<EntityI> _subentitiesToExclude) |
static EntityI |
getEntityToCreate(ClientContextI _ctx,
EntityI _creationEntity,
java.util.Set<EntityI> _subentitiesToExclude,
boolean onlyWithTemplateAndCreationRights) |
javax.swing.border.LineBorder |
getErrorBorder() |
javax.swing.JComponent |
getExplicitIFC() |
java.lang.String |
getFilter() |
int |
getFirstSelectedLine() |
BO |
getFirstSelectedObject() |
java.awt.Font |
getFont() |
java.lang.String |
getFontSize() |
FormPopupControllerI |
getFormPopupController() |
Formular[] |
getFormsForSelectedRow() |
Formular[] |
getFormsForSelectedRow(boolean reload) |
int |
getHeightSpec(java.lang.String def) |
int |
getHorizontalScrollBarPolicy() |
javax.swing.JComponent |
getInitialFocus() |
javax.swing.JComponent |
getInitialFocus(boolean force) |
java.lang.Integer |
getIntercellSpacingX() |
java.lang.Integer |
getIntercellSpacingY() |
AttributeI |
getItemAttribute() |
java.lang.String |
getItemProperty() |
java.lang.Object |
getLastItem() |
java.lang.Object |
getLastItem(BO[] bos) |
netrexx.lang.Rexx |
getLastItemNumber() |
netrexx.lang.Rexx |
getLastItemNumber(BO[] bos) |
int |
getMaxRowHeight() |
int |
getMaxRows() |
java.lang.Integer |
getMDIHeight() |
java.lang.Integer |
getMDIWidth() |
FTableAtm |
getModel() |
java.lang.String |
getMPMHeight(javax.swing.JComponent c) |
int |
getObjectCount()
Method to retrieve the row count of the current table.
|
EntityI |
getObjectEntity() |
BO |
getObjectForRow(int row) |
javax.swing.border.Border |
getOborder() |
java.lang.String |
getOpenFormTid() |
java.lang.String |
getOpenProperty() |
java.lang.Class |
getParentClass() |
java.lang.String |
getParms() |
QueryBuilder |
getQuery() |
QueryBuilder |
getQueryBuilder() |
java.lang.String |
getRenderedColumnTitle(int c) |
java.lang.String |
getRenderedValueAt(int r,
int c) |
java.lang.String |
getRenderedValueAt(int r,
int c,
boolean nocaching) |
java.lang.Integer |
getResizeMode() |
int |
getRowHeight() |
int |
getRowHeight(int row) |
BO[] |
getRowObjectsViewSorted() |
Schablone[] |
getSchabsForView() |
int[] |
getSelectedColumns()
Returns an int array with the indexes of the selected columns.
|
int[] |
getSelectedLines()
Get the (view) line indexes of the currently selected rows.
|
java.lang.Long[] |
getSelectedObjectIds()
Returns an array of the IDs of the selected Business Objects (BOs) from the table.
|
BO[] |
getSelectedObjects()
Returns an array of selected Business Objects (BOs) from the table.
|
int[] |
getSelectedRows()
Returns an int array with the indexes of the selected rows.
|
java.util.ArrayList |
getSortedItemList()
Get sorted Posten-objects.
|
de.ipcon.swing.ITableSorter |
getSorter() |
java.util.Set<EntityI> |
getSubentitiesToExclude() |
de.ipcon.swing.ITable |
getTable() |
java.lang.String |
getTemplateSource() |
int |
getTranslatedColumn(int col) |
int |
getTranslatedRow(int row) |
int |
getVerticalScrollBarPolicy() |
int |
getViewColumn(int column) |
int |
getViewRow(int row) |
int |
getVisibleCellCount()
Returns the count of currently visible cells in the table's viewport.
|
int |
getWidthSpec(java.lang.String def) |
void |
handleAdditionalAutoRefreshEntitiesA(electric.xml.Attribute a) |
void |
handleAlternateCellBackgroundA(electric.xml.Attribute a) |
void |
handleAutoRefreshA(electric.xml.Attribute a) |
void |
handleAutoSelectFirstA(electric.xml.Attribute a) |
void |
handleAutoSelectLastA(electric.xml.Attribute a) |
void |
handleAutoSelectNoneA(electric.xml.Attribute a) |
void |
handleAutoSelectObjectE(electric.xml.Element e) |
void |
handleCellBackgroundA(electric.xml.Attribute a) |
void |
handleColumnE(electric.xml.Element e) |
void |
handleColumnsA(electric.xml.Attribute a) |
void |
handleColumnsDef(java.lang.String s)
Adds one or more new columns to the table based on a provided string definition.
|
void |
handleColumnsDef(java.lang.String s,
int insertAtIndex) |
void |
handleColumnsE(electric.xml.Element e) |
void |
handleColumnSelectionAllowedA(electric.xml.Attribute a) |
void |
handleDetailViewE(electric.xml.Element e) |
void |
handleDisplayClassA(electric.xml.Attribute a) |
void |
handleEinstellungenVariablen(Benutzer user) |
void |
handleEntityA(electric.xml.Attribute a) |
void |
handleFontSizeA(electric.xml.Attribute a) |
void |
handleFreeSearchA(electric.xml.Attribute a) |
void |
handleFurtherElements(EntityI ent) |
void |
handleFurtherElements(EntityI ent,
boolean showHidden) |
void |
handleHeightA(electric.xml.Attribute a) |
void |
handleHorizontalScrollBarPolicyA(electric.xml.Attribute a) |
void |
handleIntercellSpacingXA(electric.xml.Attribute a) |
void |
handleIntercellSpacingYA(electric.xml.Attribute a) |
void |
handleItemPropertyA(electric.xml.Attribute a) |
void |
handleLoadImmediateA(electric.xml.Attribute a) |
void |
handleMaxRowHeightA(electric.xml.Attribute a) |
void |
handleMaxRowsA(electric.xml.Attribute a) |
void |
handleMouseEvent(java.awt.event.MouseEvent m) |
void |
handleOnAfterSelectValueE(electric.xml.Element e) |
void |
handleOnQueryFiredE(electric.xml.Element e) |
void |
handleParentClassA(electric.xml.Attribute a) |
void |
handleParentEntityA(electric.xml.Attribute a) |
void |
handlePreferredVisibleRowsA(electric.xml.Attribute a) |
void |
handlePropertyA(electric.xml.Attribute a) |
void |
handleQueryE(electric.xml.Element e) |
void |
handleQueryGUIEvent(QueryGUIEvent ev) |
void |
handleReloadBOsWhenOpeningA(electric.xml.Attribute a) |
void |
handleResizeModeA(electric.xml.Attribute a) |
void |
handleRowHeightA(electric.xml.Attribute a) |
void |
handleRowSelectionAllowedA(electric.xml.Attribute a) |
void |
handleShowEntityNameA(electric.xml.Attribute a) |
void |
handleShowHorizontalLinesA(electric.xml.Attribute a) |
void |
handleShowVerticalLinesA(electric.xml.Attribute a) |
void |
handleSingleClickEditA(electric.xml.Attribute a) |
void |
handleSubentitiesToExcludeA(electric.xml.Attribute a) |
void |
handleTemplateSourceA(electric.xml.Attribute a) |
void |
handleUseMaximumHeightA(electric.xml.Attribute a) |
void |
handleUseMaximumWidthA(electric.xml.Attribute a) |
void |
handleUsePolymorphySelectionTreeA(electric.xml.Attribute a) |
void |
handleVerticalScrollBarPolicyA(electric.xml.Attribute a) |
void |
handleViewE(electric.xml.Element e) |
void |
handleWidthA(electric.xml.Attribute a) |
boolean |
hasBorderWithToolBar() |
static boolean |
hasGaps(int[] arr)
Return true if there are steps > 1 in
intArray arr. |
boolean |
hasGapsInSelection()
Check if there are gaps between selected lines.
|
boolean |
hasMultipleSelectedObjects()
Return true if multiple Objects have been selected, return false otherwise.
|
boolean |
hasQuery() |
boolean |
hasSelectedObjects() |
boolean |
hasSortedColumn() |
boolean |
hasSortedColumn(boolean onlyVirtual) |
static boolean |
hasTemplateAndCreationRights(ClientContextI ctx,
EntityI e)
Returns true if the user is allowed to create objects and has access to a template for the the passed entity.
|
void |
headerClicked(int clickCount)
Invoked when the table header is clicked.
|
void |
hideIfPopupped() |
void |
hideProgressComponents() |
void |
insertItemWithNumber(netrexx.lang.Rexx aktnr) |
boolean |
is_asyncModel() |
boolean |
isAsyncModel() |
boolean |
isAutoRefresh() |
boolean |
isAutoSelectFirst() |
boolean |
isAutoSelectLast() |
boolean |
isAutoSelectNone() |
boolean |
isCellVisible(int row,
int column)
Checks if the cell at the specified row and column is currently visible within the table's viewport.
|
boolean |
isColumnSelectionAllowed() |
boolean |
isCreateInDetailView() |
boolean |
isDependent() |
boolean |
isEasyEdit() |
boolean |
isEditable() |
boolean |
isEditableDetailView() |
boolean |
isExplicitStart() |
boolean |
isFreeSearch() |
boolean |
isIgnoreSelectionEvents() |
boolean |
isLinkonly() |
boolean |
isLoadImmediate() |
boolean |
isPivotMode() |
boolean |
isPopup() |
boolean |
isReadonly() |
boolean |
isReloadBOsWhenOpening() |
boolean |
isRowSelectionAllowed() |
boolean |
isShowEntityName() |
boolean |
isShowHorizontalLines() |
boolean |
isShowVerticalLines() |
boolean |
isSingleClickEdit() |
boolean |
isSortForSelected() |
boolean |
isUseMaximumHeight()
Checks if the root form element should attempt to use the maximum available height.
|
boolean |
isUseMaximumWidth()
Checks if the root form element should attempt to use the maximum available width.
|
boolean |
isUsePolymorphySelectionTree() |
boolean |
isViewonly() |
void |
mdiOpen(MDIElementI me) |
void |
mouseClicked(java.awt.event.MouseEvent m) |
void |
mouseEntered(java.awt.event.MouseEvent m) |
void |
mouseExited(java.awt.event.MouseEvent m) |
void |
mousePressed(java.awt.event.MouseEvent m) |
void |
mouseReleased(java.awt.event.MouseEvent m) |
void |
moveItemDown() |
void |
moveItemUp() |
boolean |
needsToDelegateNewElement() |
void |
onOptimizeColumnStart(int columnToOptimize)
Invoked when a column optimization operation is about to start.
|
void |
onSortingStart(int columnToSort)
Invoked when a sorting operation is about to start.
|
void |
orderAsSelectedItems() |
void |
postRefresh() |
void |
postRefresh(int from) |
void |
prepareForShowPopup() |
void |
progressCancelButtonActionPressed(java.awt.event.ActionEvent a) |
void |
readyLoading()
Invoked when the associated component or model has finished loading data and is ready for use.
|
void |
realHandleQueryE(electric.xml.Element e) |
void |
reallyHandleVirtualPropertyE(electric.xml.Element e) |
void |
refresh() |
void |
refresh(int from) |
void |
refreshDetails() |
void |
refreshEditableStatus() |
void |
refreshPerformed(FormElementI fe) |
void |
refreshProgressLabel() |
void |
registerActionImpl(FormAction a) |
void |
reload() |
void |
removePopupElementListener(PopupElementListenerI l) |
void |
renumberItemList(java.util.ArrayList a) |
boolean |
requestFocusInWindow()
Requests that this component gets the keyboard focus, specifically within its own window.
|
void |
resetFilters()
resets all filters for this table back to their initial (default) state.
|
void |
selectNextItem()
Move cursor to next item in table.
|
void |
selectNextItem(boolean moveToFirstAfterLast) |
void |
selectObject(java.lang.Object objectToSelect)
Selects and moves focus to the specified object in the table.
|
void |
selectObject(java.lang.Object objectToSelect,
java.lang.Runnable andThen) |
void |
selectObjectAndTryFocusDetailView(BO bo) |
void |
selectObjects(java.lang.Object[] objectsToSelect)
Selects and moves focus to the specified objects in the table.
|
void |
selectObjects(java.lang.Object[] objectsToSelect,
java.lang.Runnable andThen) |
void |
selectObjectWithId(java.lang.Long id)
Selects and moves focus to the object with the specified ID in the table.
|
void |
set_asyncModel(boolean $177) |
void |
setAdditionalAutoRefreshEntities(int $174,
java.lang.String $175) |
void |
setAdditionalAutoRefreshEntities(java.lang.String[] $172) |
void |
setAlternateCellBackground(java.awt.Color $158) |
void |
setAlternateCellForeground(java.awt.Color $160) |
void |
setAsyncModel(boolean $176) |
void |
setAttribute(AttributeI $140) |
void |
setAutoRefresh(boolean $171) |
void |
setAutoSelectFirst(boolean $167) |
void |
setAutoSelectLast(boolean $168) |
void |
setAutoSelectNone(boolean $169) |
void |
setCellBackground(java.awt.Color $157) |
void |
setCellForeground(java.awt.Color $159) |
void |
setCols(FTableColumn[] $119) |
void |
setCols(int $121,
FTableColumn $122) |
void |
setColsa(java.util.ArrayList $118) |
void |
setColumnSelectionAllowed(boolean $163) |
void |
setColumnWidthFromTableModel()
Reads the current column width from the
JTable.getColumnModel() and sets it as the width
of the corresponding FTableColumn. |
void |
setCreateInDetailView(boolean $149) |
void |
setDependent(java.lang.Boolean _v) |
void |
setDetailView(FDetailView $141) |
void |
setDisplayAttribute(AttributeI $126) |
void |
setDisplayClass(java.lang.Class $114) |
void |
setDisplayProperty(java.lang.String $125) |
void |
setDoc(electric.xml.Document $123) |
void |
setEasyEdit(boolean $127) |
boolean |
setEditable() |
boolean |
setEditable(boolean isEditable) |
void |
setEditableDetailView(boolean $150) |
void |
setEditingStatus(boolean newStatus) |
void |
setEntity(EntityI $129) |
void |
setErrorBorder(javax.swing.border.LineBorder $166) |
void |
setExplicitIFC(javax.swing.JComponent $180)
Sets an explicit initial focus component for this root form element.
|
void |
setExplicitStart(boolean $178) |
void |
setFilter(java.lang.String $156) |
void |
setFontSize(java.lang.String $135) |
void |
setFormPopupController(FormPopupControllerI $153) |
void |
setFreeSearch(boolean $155) |
void |
setHorizontalScrollBarPolicy(int $161) |
void |
setIgnoreSelectionEvents(boolean $154) |
void |
setIntercellSpacingX(java.lang.Integer $138) |
void |
setIntercellSpacingY(java.lang.Integer $139) |
void |
setItemAttribute(AttributeI $152) |
void |
setItemProperty(java.lang.String $151) |
void |
setLinkonly(boolean $146) |
void |
setLinkOnly(boolean b) |
void |
setLoadImmediate(boolean _b) |
void |
setMaxRows(int $116) |
void |
setMDIHeight(java.lang.Integer $143) |
void |
setMDIWidth(java.lang.Integer $142) |
void |
setObjectEntity(EntityI $130) |
void |
setOborder(javax.swing.border.Border $165) |
void |
setOpenFormTid(java.lang.String $113) |
void |
setOpenProperty(java.lang.String $112) |
void |
setParentClass(java.lang.Class $115) |
void |
setParms(java.lang.String $124) |
void |
setQueryString(java.lang.String s) |
void |
setReadonly(boolean $148) |
void |
setReadOnly(boolean b) |
void |
setReloadBOsWhenOpening(boolean $170) |
void |
setResizeMode(java.lang.Integer $117) |
void |
setRowHeight(int row,
int height) |
void |
setRowSelectionAllowed(boolean $164) |
void |
setSelectedLine(int i) |
void |
setSelectedLines(int i,
int k)
Select a contiguous span of lines between
i and k. |
void |
setShowEntityName(boolean $133) |
void |
setShowHorizontalLines(boolean $136) |
void |
setShowVerticalLines(boolean $137) |
void |
setSingleClickEdit(boolean $128) |
void |
setSortForSelected(boolean $179) |
void |
setSubentitiesToExclude(java.util.Set<EntityI> $131) |
void |
setTemplateSource(java.lang.String $134) |
void |
setUseMaximumHeight(boolean $145) |
void |
setUseMaximumWidth(boolean $144) |
void |
setUsePolymorphySelectionTree(boolean $132) |
void |
setVerticalScrollBarPolicy(int $162) |
void |
setViewonly(boolean $147) |
void |
setViewOnly(boolean b) |
void |
showPopup(java.awt.event.MouseEvent m) |
void |
showProgressComponents(boolean withStopButton) |
java.util.Iterator |
startCustomIterator() |
void |
startEditing() |
de.ipcon.db.core.QueryResultsI |
startQuery() |
void |
stopEditing() |
void |
syncPerformed(FormElementI fe) |
void |
toggleEditing() |
void |
triggerQuery(java.lang.String s) |
void |
unconfigureColumns() |
int |
unlazyColumn(int columnToUnlazy)
Unlazies a specific column's data, ensuring values are loaded, optionally for sorting purposes.
|
int |
unlazyColumn(int columnToUnlazy,
boolean forSorting) |
int |
unlazyModel(boolean onlySelection)
Unlazies data in the table model, either for the entire selection or for specific columns.
|
int |
unlazyModel(boolean onlySelection,
int[] columnsToUnlazy) |
void |
valueChanged(javax.swing.event.ListSelectionEvent lse) |
boolean |
willCareForChildRefresh() |
_refreshActions, action_editForm_available, action_editForm_enabled, action_editForm, action_refreshView_available, action_refreshView, action_reopenView_available, action_reopenView_enabled, action_reopenView, addBeanA, addFormElementListener, addHandleA, addHandleE, afterSave, afterSetValue, assureTransferHandler, beforeSave, beforeSetValue, calculationMightBeExpensive, callLog, cancelPendingRefreshRequests, checkEditable, checkVisible, evalScript, evalScript, evalScript, evalScript, evalScript, fhide, focusNextComponent, focusPreviousComponent, fshow, getActions, getActionsOfKind, getActionsOfKind, getBO, getConfRoot, getCtx, getDebugName, getFormActions, getFtx, getInstrumentedSchema, getLastRefreshRequest, getMaximumSize, getMinimumSize, getMissingPropertiesPolicy, getPreferredSize, getRefreshRequestsPending, getSchema, handleActionE, handleAttributes, handleDropAllowedIfE, handleEditableA, handleEditableIfE, handleElement, handleElements, handleElements, handleElements, handleImpliedA, handleMaximumSizeA, handleMaxSizeA, handleMinimumSizeA, handleMinSizeA, handleMissingPropertiesPolicyA, handleNameA, handleNewElement, handleNewElement, handleNewElement, handleOnAfterSaveE, handleOnAfterSetValueE, handleOnBeforeSaveE, handleOnBeforeSetValueE, handleOnConstructionE, handleOnDropE, handleOnFocusGainedE, handleOnFocusLostE, handleOnMDIActivateE, handleOnMDICloseE, handleOnMDIDeactivateE, handleOnMDIOpenE, handleOnRefreshE, handleOnSyncE, handlePreferredSizeA, handlePrefSizeA, handleScriptE, handleVirtualPropertyE, handleVisibleIfE, hasPreferredSizeOverride, invokeAction, invokeAction, isClosed, isDebug, isDefinedEditable, isExplicitEditable, isGUIBuilt, isImpliedElement, isInputPossible, isShown, mdiActivate, mdiClose, mdiDeactivate, postConstructor, postInit, postRefresh, processFocusVeto, processFocusVeto, queueDelayedRefresh, queueDelayedRefresh, refreshActions, refreshActions, registerFormAction, removeFormElementListener, requestFocus, requestFocusInWindow, runAndDeclare, runAndDeclare, setConfRoot, setDebug, setFtx, setGUIBuilt, setMissingPropertiesPolicy, setShown, shouldShow, sync, syncImpl, waitForAsyncRefreshes, willCareForChildActionsgetPreferredScrollableViewportSize, getScrollableBlockIncrement, getScrollableTracksViewportHeight, getScrollableTracksViewportWidth, getScrollableUnitIncrement, getScrollingMode, grabFocus, init, init, init, paintComponent, setScrollingMode, setTexturegetAccessibleContext, getUI, getUIClassID, setUI, updateUIaddAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getNextFocusableComponent, getPopupLocation, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintImmediately, paintImmediately, print, printAll, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, updateadd, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validateaction, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, contains, createImage, createImage, createVolatileImage, createVolatileImage, dispatchEvent, enable, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycleequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetBO, getDebugName, isClosed, isDebug, refreshActionsrefreshActionsaddFormElementListener, afterSave, afterSetValue, beforeSave, beforeSetValue, getActions, getActionsOfKind, getConfRoot, getCtx, getFtx, getName, getSchema, handleAttributes, handleElement, handleElements, handleNewElement, isGUIBuilt, isInputPossible, isShown, mdiActivate, mdiClose, mdiDeactivate, postInit, removeFormElementListener, requestFocus, sync, toDebugName, willCareForChildActionspublic FTable(FormContextI _ftx, electric.xml.Element _confroot)
public FTableAtm getModel()
getModel in interface FTableConfigurationIpublic de.ipcon.swing.ITableSorter getSorter()
getSorter in interface FTableConfigurationIpublic void setDependent(java.lang.Boolean _v)
public java.lang.Boolean getDependent()
public boolean isDependent()
isDependent in interface FTableConfigurationIpublic boolean isReadonly()
public void setViewOnly(boolean b)
public void setLinkOnly(boolean b)
public void setReadOnly(boolean b)
public boolean setEditable()
public boolean setEditable(boolean isEditable)
setEditable in interface FormElementIsetEditable in class FPanelpublic boolean isEditable()
isEditable in interface FormElementIisEditable in class FPanelpublic void refreshEditableStatus()
public void hideIfPopupped()
hideIfPopupped in interface PopupableFormElementIpublic boolean isPopup()
public void close()
close in interface FormElementIclose in class FPanelpublic void handlePropertyA(electric.xml.Attribute a)
public void handleEntityA(electric.xml.Attribute a)
public void handleParentEntityA(electric.xml.Attribute a)
public void handleDisplayClassA(electric.xml.Attribute a)
public void handleParentClassA(electric.xml.Attribute a)
public void handleWidthA(electric.xml.Attribute a)
public void handleHeightA(electric.xml.Attribute a)
public void handleUseMaximumWidthA(electric.xml.Attribute a)
public void handleUseMaximumHeightA(electric.xml.Attribute a)
public void handleRowHeightA(electric.xml.Attribute a)
public void handleMaxRowHeightA(electric.xml.Attribute a)
public void handleResizeModeA(electric.xml.Attribute a)
public void handleMaxRowsA(electric.xml.Attribute a)
public void handleItemPropertyA(electric.xml.Attribute a)
public void handleFreeSearchA(electric.xml.Attribute a)
public void handleLoadImmediateA(electric.xml.Attribute a)
public void handleSingleClickEditA(electric.xml.Attribute a)
public void handleAutoSelectFirstA(electric.xml.Attribute a)
public void handleAutoSelectLastA(electric.xml.Attribute a)
public void handleAutoSelectNoneA(electric.xml.Attribute a)
public void handleVerticalScrollBarPolicyA(electric.xml.Attribute a)
public void handleHorizontalScrollBarPolicyA(electric.xml.Attribute a)
public void handleColumnSelectionAllowedA(electric.xml.Attribute a)
public void handleRowSelectionAllowedA(electric.xml.Attribute a)
public void handleReloadBOsWhenOpeningA(electric.xml.Attribute a)
public void handleAutoRefreshA(electric.xml.Attribute a)
public void handleAdditionalAutoRefreshEntitiesA(electric.xml.Attribute a)
public void handlePreferredVisibleRowsA(electric.xml.Attribute a)
public boolean isReloadBOsWhenOpening()
public boolean isAutoRefresh()
isAutoRefresh in interface FTableConfigurationIpublic boolean hasSortedColumn()
public boolean hasSortedColumn(boolean onlyVirtual)
hasSortedColumn in interface FTableConfigurationIpublic void handleSubentitiesToExcludeA(electric.xml.Attribute a)
public void handleUsePolymorphySelectionTreeA(electric.xml.Attribute a)
public void handleShowEntityNameA(electric.xml.Attribute a)
public void handleTemplateSourceA(electric.xml.Attribute a)
public void handleFontSizeA(electric.xml.Attribute a)
public void handleShowHorizontalLinesA(electric.xml.Attribute a)
public void handleShowVerticalLinesA(electric.xml.Attribute a)
public void handleIntercellSpacingXA(electric.xml.Attribute a)
public void handleIntercellSpacingYA(electric.xml.Attribute a)
public void handleCellBackgroundA(electric.xml.Attribute a)
public void handleAlternateCellBackgroundA(electric.xml.Attribute a)
public void handleColumnsA(electric.xml.Attribute a)
public void handleEinstellungenVariablen(Benutzer user)
public void buildGUI()
public void realHandleQueryE(electric.xml.Element e)
public void handleQueryE(electric.xml.Element e)
public void handleViewE(electric.xml.Element e)
public void handleColumnE(electric.xml.Element e)
public void handleColumnsE(electric.xml.Element e)
public void handleColumnsDef(java.lang.String s)
s - The column definition string. Must be non-null and non-empty.insertAtIndex - The index at which to insert the new columns. If this value
is less than 0 or greater than the current number of columns,
the new columns are appended to the end of the table.
Defaults to -1.java.lang.IllegalStateException - if the input string s is null. This indicates an
inappropriate state for the method call, as some sort of column definition is expected.public void handleColumnsDef(java.lang.String s,
int insertAtIndex)
public void addColumns(java.lang.String s)
s - the column definition to add, nonnull.insertAtIndex - if zero or greater, then the new columns are inserted at the given index.
if the index is less than zero or greater than the number of current columns, then the
columns are appended to the end.
Defaults to -1, which will append the new columns at the end.java.lang.IllegalStateException - if the gui hasn't been build yetpublic void addColumns(java.lang.String s,
int insertAtIndex)
public void addColumnE(electric.xml.Element el)
el - public void handleFurtherElements(EntityI ent)
public void handleFurtherElements(EntityI ent, boolean showHidden)
public void handleOnQueryFiredE(electric.xml.Element e)
public void handleOnAfterSelectValueE(electric.xml.Element e)
public void handleDetailViewE(electric.xml.Element e)
public void reallyHandleVirtualPropertyE(electric.xml.Element e)
reallyHandleVirtualPropertyE in class FPanelpublic void handleAutoSelectObjectE(electric.xml.Element e)
public void registerActionImpl(FormAction a)
registerActionImpl in class FPanelpublic java.util.HashMap getAttributeMap()
FPanelSubclasses can and should override this method to provide their own attribute map.
getAttributeMap in interface FormElementIgetAttributeMap in class FPanelpublic java.util.HashMap getElementMap()
FPanelSubclasses can and should override this method to provide their own element map.
getElementMap in interface FormElementIgetElementMap in class FPanelpublic java.util.LinkedHashMap getDefaultActionMap()
FPanelSubclasses can and should override this method to provide their own default action map.
getDefaultActionMap in class FPanelpublic boolean hasBorderWithToolBar()
public FTableColumn getCol(int i)
getCol in interface FTableConfigurationIpublic boolean displaysRelation()
public boolean displaysSortedItems()
public boolean isLoadImmediate()
isLoadImmediate in interface PopupableFormElementIisLoadImmediate in interface FTableConfigurationIpublic void setLoadImmediate(boolean _b)
public final void debugTiming(java.lang.String message)
debugTiming in interface FTableConfigurationIpublic void build()
public int getRowHeight()
getRowHeight in interface FTableConfigurationIpublic int getMaxRowHeight()
getMaxRowHeight in interface FTableConfigurationIpublic int getRowHeight(int row)
getRowHeight in interface FTableConfigurationIpublic void setRowHeight(int row,
int height)
setRowHeight in interface FTableConfigurationIpublic int getWidthSpec(java.lang.String def)
getWidthSpec in interface FTableConfigurationIpublic int getHeightSpec(java.lang.String def)
getHeightSpec in interface FTableConfigurationIpublic void setColumnWidthFromTableModel()
JTable.getColumnModel() and sets it as the width
of the corresponding FTableColumn.public QueryBuilder getQueryBuilder()
public void unconfigureColumns()
public void configureColumns()
_sortColsIdxOffset - needed to adjust index of columns to be sorted
when going into or coming from edit mode as one column is added or
removed at index 0 in these cases and the index of the other columns
changes therefore.public void configureColumns(int _sortColsIdxOffset)
public boolean willCareForChildRefresh()
willCareForChildRefresh in interface FormElementIwillCareForChildRefresh in class FPanelpublic void refresh()
refresh in interface FormElementIrefresh in class FPanelpublic void refresh(int from)
refresh in interface FormElementIrefresh in class FPanelpublic void postRefresh()
postRefresh in class FPanelpublic void postRefresh(int from)
postRefresh in interface FormElementIpostRefresh in class FPanelpublic void fastRefresh()
public void prepareForShowPopup()
prepareForShowPopup in interface PopupableFormElementIpublic void handleMouseEvent(java.awt.event.MouseEvent m)
public void mouseExited(java.awt.event.MouseEvent m)
mouseExited in interface java.awt.event.MouseListenerpublic void mouseClicked(java.awt.event.MouseEvent m)
mouseClicked in interface java.awt.event.MouseListenerpublic void mousePressed(java.awt.event.MouseEvent m)
mousePressed in interface java.awt.event.MouseListenerpublic void mouseEntered(java.awt.event.MouseEvent m)
mouseEntered in interface java.awt.event.MouseListenerpublic void mouseReleased(java.awt.event.MouseEvent m)
mouseReleased in interface java.awt.event.MouseListenerpublic void focusGained(java.awt.event.FocusEvent fe)
focusGained in interface java.awt.event.FocusListenerpublic void focusLost(java.awt.event.FocusEvent fe)
focusLost in interface java.awt.event.FocusListenerpublic void progressCancelButtonActionPressed(java.awt.event.ActionEvent a)
public void displayStopping()
displayStopping in interface FTableConfigurationIpublic void displayLoading(boolean withStopButton)
displayLoading in interface FTableConfigurationIpublic void displayReady()
displayReady in interface FTableConfigurationIpublic void fireProgressChange(int current,
int total,
java.lang.String text)
fireProgressChange in interface ProgressDisplayIpublic void refreshProgressLabel()
refreshProgressLabel in interface FTableConfigurationIpublic void showProgressComponents(boolean withStopButton)
public void hideProgressComponents()
public int getTranslatedRow(int row)
getTranslatedRow in interface FTableConfigurationIpublic int getTranslatedColumn(int col)
getTranslatedColumn in interface FTableConfigurationIpublic int getViewRow(int row)
getViewRow in interface FTableConfigurationIpublic int getViewColumn(int column)
getViewColumn in interface FTableConfigurationIpublic int getFirstSelectedLine()
public int[] getSelectedLines()
intArray representing the numbers of selected lines,
starting with 0 for the very first line.public void setSelectedLine(int i)
public void setSelectedLines(int i,
int k)
i and k.
It is ok if k is less than iint - i, the inclusive start of the selection.int - k, the inclusive end of the selection.public boolean hasSelectedObjects()
public boolean hasMultipleSelectedObjects()
public boolean hasGapsInSelection()
public static boolean hasGaps(int[] arr)
intArray arr.arr: - Array of Integers to check.true if there are steps > 1 in arr,
false it it is empty, null, has less than two elements
or simply no gaps.public BO getFirstSelectedObject()
public int getObjectCount()
public BO getObjectForRow(int row)
getObjectForRow in interface FTableConfigurationIpublic java.lang.Long[] getSelectedObjectIds()
This method retrieves the currently selected rows from the table, translates their view indices to model indices, fetches the corresponding BOs from the table's model, and then retrieves their IDs. It ensures the operation runs on the Event Dispatch Thread (EDT) and handles cases where no rows are selected or invalid rows are encountered.
public BO[] getSelectedObjects()
This method retrieves the currently selected rows from the table, translates their view indices to model indices, and then fetches the corresponding BOs from the table's model. It ensures the operation runs on the Event Dispatch Thread (EDT) and handles cases where no rows are selected or invalid rows are encountered.
public Formular[] getFormsForSelectedRow()
public Formular[] getFormsForSelectedRow(boolean reload)
public Schablone[] getSchabsForView()
public void showPopup(java.awt.event.MouseEvent m)
public void readyLoading()
LoadingStatusListenerIreadyLoading in interface LoadingStatusListenerIpublic void beforeSavePerformed(FormElementI fe)
beforeSavePerformed in interface FormElementListenerIpublic void afterSavePerformed(FormElementI fe)
afterSavePerformed in interface FormElementListenerIpublic void syncPerformed(FormElementI fe)
syncPerformed in interface FormElementListenerIpublic void refreshPerformed(FormElementI fe)
refreshPerformed in interface FormElementListenerIpublic void beforeSetValuePerformed(FormElementI fe, java.lang.Object old, java.lang.Object $new)
beforeSetValuePerformed in interface FormElementListenerIpublic void afterSetValuePerformed(FormElementI fe, java.lang.Object old, java.lang.Object $new)
afterSetValuePerformed in interface FormElementListenerIpublic void mdiOpen(MDIElementI me)
mdiOpen in interface FormElementImdiOpen in class FPanelpublic void actionPerformed(java.awt.event.ActionEvent a)
actionPerformed in interface java.awt.event.ActionListenerpublic void handleQueryGUIEvent(QueryGUIEvent ev)
handleQueryGUIEvent in interface QueryGUIListenerIpublic boolean action_newSearch_enabled()
public void action_close()
public void action_showPopupMenu()
public void action_showPopupMenu(java.awt.event.ActionEvent a)
public void action_refresh()
action_refresh in interface PopupableFormElementIpublic void afterAction_refresh()
public boolean action_refresh_available()
public boolean action_refresh_enabled()
public void action_edit()
public boolean action_edit_available()
public boolean action_edit_enabled()
public void action_sortColumn()
public boolean action_sortColumn_enabled()
public void action_optimalColumnWidth()
public boolean action_optimalColumnWidth_enabled()
public void action_optimalColumnWidthAll()
public boolean action_optimalColumnWidthAll_enabled()
public boolean action_openSelected_available()
public boolean action_openSelected_enabled()
public void action_openSelected(java.lang.String tid)
public void action_openSelected(java.util.Map formParams)
public void action_openSelected()
public void action_openSelected(boolean _useAutomatic)
public void action_openSelected(boolean _useAutomatic,
java.lang.String tid)
public void action_openSelected(boolean _useAutomatic,
java.lang.String tid,
java.util.Map formParams)
public boolean needsToDelegateNewElement()
needsToDelegateNewElement in interface PopupableFormElementIpublic BO delegatedNewElement(java.awt.event.ActionEvent a)
delegatedNewElement in interface PopupableFormElementIpublic BO action_newElement()
action_newElement in interface PopupableFormElementIpublic BO action_newElement(java.awt.event.ActionEvent a)
action_newElement in interface PopupableFormElementIpublic boolean action_newElement_available()
public boolean action_newElement_enabled()
public BO action_insertElement()
public BO action_insertElement(java.awt.event.ActionEvent a)
public boolean action_insertElement_available()
public boolean action_insertElement_enabled()
public void action_deleteSelected()
public boolean action_deleteSelected_available()
public boolean action_deleteSelected_enabled()
public void action_stopLoading()
action_stopLoading in interface PopupableFormElementIpublic boolean action_stopLoading_available()
public boolean action_stopLoading_enabled()
public void action_itemUp()
public boolean action_itemUp_available()
public boolean action_itemUp_enabled()
public void action_itemDown()
public boolean action_itemDown_available()
public boolean action_itemDown_enabled()
public void action_focusSearchPanel()
action_focusSearchPanel in interface PopupableFormElementIpublic void action_newSearch()
public void action_undeleteSelected()
public boolean action_undeleteSelected_available()
public boolean action_undeleteSelected_enabled()
public void action_printSelected()
This method allows the user to print the currently selected objects in the table using a report of their choice. It first ensures that any unsaved form data is saved, if applicable (this does not apply to bookmarks). Then, it prompts the user to select a report from a list of available reports for the selected objects. If the user selects a report, the method initiates the printing process.
public boolean action_printSelected_available()
public boolean action_printSelected_enabled()
public void action_attachSelected()
public boolean action_attachSelected_available()
public boolean action_attachSelected_enabled()
public void action_detachSelected()
public boolean action_detachSelected_available()
public boolean action_detachSelected_enabled()
public void action_selectAll()
public boolean action_selectAll_enabled()
public void action_invertSelection()
public boolean action_invertSelection_enabled()
public void action_exportSelection()
public boolean action_exportSelection_available()
public boolean action_exportSelection_enabled()
public de.ipcon.form.FTable.CurrentSelection getCurrentSelection(javax.swing.JTable table)
public de.ipcon.form.FTable.CurrentSelection getCurrentSelection(javax.swing.JTable table,
boolean returnAllForNoSelection)
public de.ipcon.form.FTable.CurrentSelection getCurrentSelection(javax.swing.JTable table,
boolean returnAllForNoSelection,
boolean forceAll)
public de.ipcon.form.FTable.CurrentSelection getCurrentSelection()
public de.ipcon.form.FTable.CurrentSelection getCurrentSelection(boolean returnAllForNoSelection)
public de.ipcon.form.FTable.CurrentSelection getCurrentSelection(boolean returnAllForNoSelection,
boolean forceAll)
public void action_copyIds()
public boolean action_copyIds_available()
public boolean action_copyIds_enabled()
public void action_copyQuery()
public boolean action_copyQuery_available()
public boolean action_copyQuery_enabled()
public void action_toggleShowDeleted()
public boolean action_toggleShowDeleted_available()
public boolean action_toggleShowDeleted_enabled()
public void action_copy()
public boolean action_copy_available()
public boolean action_copy_enabled()
public void action_consolidate()
public boolean action_consolidate_available()
public boolean action_consolidate_enabled()
public boolean isPivotMode()
public void action_togglePivotMode()
public void configurePivot(java.util.List<java.lang.String> data,
java.util.List<java.lang.String> rows,
java.util.List<java.lang.String> columns)
public void configurePivot(java.util.List<java.lang.String> data,
java.util.List<java.lang.String> rows,
java.util.List<java.lang.String> columns,
java.util.List<java.lang.String> filters)
public void enablePivotSubtotals(java.util.List<java.lang.String> rowsOrColumns)
public void customizePivotDataTablePopup(javax.swing.JPopupMenu menu,
java.awt.Component target)
public void customizePivotPopup(javax.swing.JPopupMenu menu,
java.awt.Component target)
public boolean action_togglePivotMode_available()
public boolean action_togglePivotMode_enabled()
public void action_exportToXls()
public void action_exportToXls_new()
public boolean action_exportToXls_available()
public boolean action_exportToXls_enabled()
public java.io.File askForExportToXLSFile()
preselectedFileName - a predefined name for the file to select. If none is given, a default filename is generated like, e.g. "Export_2020-11-02-12-30"useXSSF - if true, the XSSF format (XML Spreadsheet Format / xlsx) is used as file extension instead of the HSSF format (Horrible Spreadsheet Format / xls)
Please note that despite the xlsx extension, the file is still written as xls. Lots of tools can handle this, but Microsoft Excel cannot.public java.io.File askForExportToXLSFile(java.lang.String preselectedFileName)
public java.io.File askForExportToXLSFile(java.lang.String preselectedFileName,
boolean useHSSF)
public void reload()
public void applyFilters()
applyFilters in interface PopupableFormElementIpublic void resetFilters()
public java.util.Iterator startCustomIterator()
startCustomIterator in interface FTableConfigurationIpublic boolean hasQuery()
hasQuery in interface FTableConfigurationIpublic de.ipcon.db.core.QueryResultsI startQuery()
startQuery in interface FTableConfigurationIpublic void triggerQuery(java.lang.String s)
triggerQuery in interface PopupableFormElementIpublic void setQueryString(java.lang.String s)
setQueryString in interface PopupableFormElementIpublic EntityI getEntityToCreate()
public EntityI getEntityToCreate(java.awt.event.ActionEvent a)
public EntityI getEntityToCreate(java.awt.event.ActionEvent a, boolean onlyWithTemplateAndCreationRights)
public static EntityI getEntityToCreate(ClientContextI _ctx, EntityI _creationEntity)
public static EntityI getEntityToCreate(ClientContextI _ctx, EntityI _creationEntity, java.util.Set<EntityI> _subentitiesToExclude)
public static EntityI getEntityToCreate(ClientContextI _ctx, EntityI _creationEntity, java.util.Set<EntityI> _subentitiesToExclude, boolean onlyWithTemplateAndCreationRights)
public static boolean hasTemplateAndCreationRights(ClientContextI ctx, EntityI e)
public static BO createBOViaTemplateSelectionTree(Transaction _tx, ClientContextI _ctx, EntityI _creationEntity, boolean _showEntityName)
public static BO createBOViaTemplateSelectionTree(Transaction _tx, ClientContextI _ctx, EntityI _creationEntity, boolean _showEntityName, java.util.Set<EntityI> _subentitiesToExclude)
public static BO createBOViaTemplateSelectionTree(Transaction _tx, ClientContextI _ctx, EntityI _creationEntity, boolean _showEntityName, java.util.Set<EntityI> _subentitiesToExclude, java.lang.String _templateSource)
public static BO createBOViaTemplateSelectionTree(Transaction _tx, ClientContextI _ctx, EntityI _creationEntity, boolean _showEntityName, java.util.Set<EntityI> _subentitiesToExclude, java.lang.String _templateSource, boolean reload)
public static BO createBOViaTemplateSelectionTree(Transaction _tx, ClientContextI _ctx, EntityI _creationEntity, boolean _showEntityName, java.util.Set<EntityI> _subentitiesToExclude, java.lang.String _templateSource, boolean reload, boolean uniqueEntities)
public void startEditing()
public void stopEditing()
public void toggleEditing()
public void setEditingStatus(boolean newStatus)
setEditingStatus in interface PopupableFormElementIpublic void _startEditing()
public void fireColumnStructureChange()
fireColumnStructureChange in interface FTableConfigurationIpublic void insertItemWithNumber(netrexx.lang.Rexx aktnr)
public void refreshDetails()
public BO createNewItem()
public BO createNewItem(java.awt.event.ActionEvent a)
public void selectObjectAndTryFocusDetailView(BO bo)
public netrexx.lang.Rexx getLastItemNumber()
public netrexx.lang.Rexx getLastItemNumber(BO[] bos)
public java.lang.Object getLastItem()
public java.lang.Object getLastItem(BO[] bos)
public java.util.ArrayList getSortedItemList()
public void renumberItemList(java.util.ArrayList a)
public QueryBuilder getQuery()
getQuery in interface PopupableFormElementIpublic void selectNextItem()
moveToFirstAfterLast - decides whether cursor should
be set on first item after end of list has been reached.public void selectNextItem(boolean moveToFirstAfterLast)
public void moveItemDown()
public void moveItemUp()
public void bundleSelectedItems()
public void orderAsSelectedItems()
public BO createNewInDetailView()
public BO createNewInDetailView(java.awt.event.ActionEvent a)
public BO createNewInDetailView(java.awt.event.ActionEvent a, netrexx.lang.Rexx lastItemNr)
public void valueChanged(javax.swing.event.ListSelectionEvent lse)
valueChanged in interface javax.swing.event.ListSelectionListenerpublic boolean eventFiredFromKeyboardHandling()
public java.lang.String getMPMHeight(javax.swing.JComponent c)
public void clearSelection()
public boolean containsObjectWithId(java.lang.Long id)
id - the id of the object for which to determine if it is in the tablepublic boolean containsObject(java.lang.Object o)
o - the object for which to determine if it is in the tablepublic void selectObjectWithId(java.lang.Long id)
This method queues the actual selection logic to be executed when the table model is ready (e.g. after initial loading or sorting completes). This prevents race conditions and ensures the object is present in the model before selection is attempted.
id - The ID (Long) of the object to be selected in the table.public void _selectObjectWithId(java.lang.Long id)
selectObjectWithId(Long)
after the table model is ready.id - The ID (Long) of the object to be selected.public void selectObject(java.lang.Object objectToSelect)
This method queues the actual selection logic to be executed after any ongoing sorting operations complete, ensuring the row indices are stable.
objectToSelect - The Object to be selected in the table.andThen - An optional Runnable to execute after the selection is complete.
Defaults to null.public void selectObject(java.lang.Object objectToSelect,
java.lang.Runnable andThen)
public void selectObjects(java.lang.Object[] objectsToSelect)
This method queues the actual selection logic to be executed after any ongoing sorting operations complete, ensuring the row indices are stable.
objectsToSelect - An array of Objects to be selected in the table.andThen - An optional Runnable to execute after the selection is complete.
Defaults to null.public void selectObjects(java.lang.Object[] objectsToSelect,
java.lang.Runnable andThen)
public void _selectObjects(java.lang.Object[] objectsToSelect,
java.lang.Runnable andThen,
int rescheduledCount)
This private method runs on the Event Dispatch Thread (EDT). It handles
potential race conditions with table refreshes, retries selection if objects
are not yet in the model, and applies the new selection to the table's
ListSelectionModel. It also executes an optional "andThen" Runnable.
objectsToSelect - An array of Objects to be selected.andThen - An optional Runnable to execute after selection.rescheduledCount - An integer counter for how many times this selection has been rescheduled.
Used to prevent infinite loops if objects never appear.public void addPopupElementListener(PopupElementListenerI l)
addPopupElementListener in interface PopupableFormElementIpublic void removePopupElementListener(PopupElementListenerI l)
removePopupElementListener in interface PopupableFormElementIpublic java.lang.String getRenderedValueAt(int r,
int c)
public java.lang.String getRenderedValueAt(int r,
int c,
boolean nocaching)
public java.lang.String getRenderedColumnTitle(int c)
public BO[] getRowObjectsViewSorted()
public javax.swing.JComponent getInitialFocus()
getInitialFocus in interface InitialFocusCandidateIpublic javax.swing.JComponent getInitialFocus(boolean force)
public void autoSelectRows()
This method implements the logic for automatically selecting a specific row based on a predefined configuration. The selection process follows a strict hierarchy:
public boolean requestFocusInWindow()
FPanelThis method overrides JComponent.requestFocusInWindow() and delegates
to the more specific FPanel.requestFocusInWindow(boolean) with "temporary" set to false.
requestFocusInWindow in class FPaneltrue if the focus request is likely to be granted, false otherwise.public java.awt.Component getAsComponent()
getAsComponent in interface PopupableFormElementIpublic java.awt.Font getFont()
getFont in interface java.awt.MenuContainergetFont in class java.awt.Componentpublic de.ipcon.swing.ITable getTable()
public void headerClicked(int clickCount)
This method implements ITableActionListenerI.headerClicked(int).
It dispatches actions based on the click count:
The associated FormAction is temporarily enabled to allow its invocation.
headerClicked in interface de.ipcon.swing.ITableActionListenerIclickCount - The number of clicks detected on the header (1 for single, 2 for double).public void onSortingStart(int columnToSort)
This method implements ITableActionListenerI.onSortingStart(int).
If the column to be sorted is identified as "slow" (e.g. requires expensive data loading),
it triggers an unlazying operation for that column to ensure all data is loaded
synchronously before sorting, if the column is actually sortable.
It also updates the progress display.
onSortingStart in interface de.ipcon.swing.ITableActionListenerIcolumnToSort - The model index of the column that is about to be sorted.public void onOptimizeColumnStart(int columnToOptimize)
This method implements ITableActionListenerI.onOptimizeColumnStart(int).
If the column to be optimized is identified as "slow" (e.g. requires expensive data loading),
it triggers an unlazying operation for that column to ensure all data is loaded
before width calculation. It also updates the progress display.
onOptimizeColumnStart in interface de.ipcon.swing.ITableActionListenerIcolumnToOptimize - The model index of the column that is about to be optimized.public boolean isCellVisible(int row,
int column)
This method determines visibility by checking if the bounding rectangle of the cell intersects with the currently visible rectangle of the table's viewport.
isCellVisible in interface FTableConfigurationIrow - The view row index of the cell.column - The view column index of the cell.true if the cell is visible (at least partially) within the viewport,
false otherwise.public int getVisibleCellCount()
getVisibleCellCount in interface FTableConfigurationIpublic int unlazyColumn(int columnToUnlazy)
This method forces the loading of data for all cells within the specified column.
If the column is intended for sorting, it first checks if the column is sortable.
The actual unlazying is delegated to unlazyModel(boolean, int[]).
columnToUnlazy - The model index of the column to unlazy.forSorting - If true, indicates that the unlazying is for a sorting operation.
This will cause a check for column sortability. Defaults to false.public int unlazyColumn(int columnToUnlazy,
boolean forSorting)
public int unlazyModel(boolean onlySelection)
This method iterates through the selected rows (or all rows if no selection is active and "onlySelection" is false) and the specified columns (or all selected columns if "c" is null). For each cell, it calls "atm.getValueAt()" to ensure the value is loaded, potentially triggering asynchronous fetches.
It provides progress updates via SPU.Tasklet.setCurrentProgressDisplay and
logs the total number of cells processed.
onlySelection - If true, only unlazies cells within the current selection.
If false, unlazies all cells in the specified columns.columnsToUnlazy - An optional array of model column indices to unlazy.
If null, the currently selected columns are used.public int unlazyModel(boolean onlySelection,
int[] columnsToUnlazy)
public int[] getSelectedColumns()
CellDataProviderIgetSelectedColumns in interface CellDataProviderIpublic int[] getSelectedRows()
CellDataProviderIgetSelectedRows in interface CellDataProviderIpublic java.lang.String getColumnTitle(int columnIndex)
CellDataProviderIgetColumnTitle in interface CellDataProviderIcolumnIndex - the index of the columnpublic java.lang.Integer getColumnWidth(int columnIndex)
CellDataProviderIgetColumnWidth in interface CellDataProviderIcolumnIndex - the index of the columnpublic float getCharacterUnitWidth()
CellDataProviderIgetCharacterUnitWidth in interface CellDataProviderISwingTools#getCharacterUnitWidthpublic L10nDateFormat getColumnDisplayFormatAsL10nDateFormat(int columnIndex)
CellDataProviderIgetColumnDisplayFormatAsL10nDateFormat in interface CellDataProviderIcolumnIndex - the index of the columnL10nDateFormatpublic L10nDecimalFormat getColumnDisplayFormatAsL10nDecimalFormat(int columnIndex)
CellDataProviderIgetColumnDisplayFormatAsL10nDecimalFormat in interface CellDataProviderIcolumnIndex - the index of the columnL10nDecimalFormatpublic java.lang.Object getCellValueAt(int rowIndex,
int columnIndex)
CellDataProviderIgetCellValueAt in interface CellDataProviderIrowIndex - the index of the rowcolumnIndex - the index of the columnpublic java.lang.String getCellRenderedValueAt(int rowIndex,
int columnIndex)
CellDataProviderIgetCellRenderedValueAt in interface CellDataProviderIrowIndex - the index of the rowcolumnIndex - the index of the columnpublic void componentHidden(java.awt.event.ComponentEvent e)
componentHidden in interface java.awt.event.ComponentListenerpublic void componentMoved(java.awt.event.ComponentEvent e)
componentMoved in interface java.awt.event.ComponentListenerpublic void componentResized(java.awt.event.ComponentEvent e)
componentResized in interface java.awt.event.ComponentListenerpublic void componentShown(java.awt.event.ComponentEvent e)
componentShown in interface java.awt.event.ComponentListenerpublic java.lang.String getOpenProperty()
public void setOpenProperty(java.lang.String $112)
public java.lang.String getOpenFormTid()
public void setOpenFormTid(java.lang.String $113)
public java.lang.Class getDisplayClass()
getDisplayClass in interface FTableConfigurationIpublic void setDisplayClass(java.lang.Class $114)
public java.lang.Class getParentClass()
getParentClass in interface FTableConfigurationIpublic void setParentClass(java.lang.Class $115)
public int getMaxRows()
getMaxRows in interface FTableConfigurationIpublic void setMaxRows(int $116)
public java.lang.Integer getResizeMode()
getResizeMode in interface FTableConfigurationIpublic void setResizeMode(java.lang.Integer $117)
public java.util.ArrayList getColsa()
public void setColsa(java.util.ArrayList $118)
public FTableColumn[] getCols()
getCols in interface FTableConfigurationIpublic void setCols(FTableColumn[] $119)
public FTableColumn getCols(int $120)
public void setCols(int $121,
FTableColumn $122)
public electric.xml.Document getDoc()
public void setDoc(electric.xml.Document $123)
public java.lang.String getParms()
public void setParms(java.lang.String $124)
public java.lang.String getDisplayProperty()
getDisplayProperty in interface FormElementWithDisplayPropertyIgetDisplayProperty in interface FTableConfigurationIpublic void setDisplayProperty(java.lang.String $125)
public AttributeI getDisplayAttribute()
getDisplayAttribute in interface FTableConfigurationIpublic void setDisplayAttribute(AttributeI $126)
public boolean isEasyEdit()
public void setEasyEdit(boolean $127)
public boolean isSingleClickEdit()
public void setSingleClickEdit(boolean $128)
public EntityI getEntity()
getEntity in interface FTableConfigurationIpublic void setEntity(EntityI $129)
public EntityI getObjectEntity()
getObjectEntity in interface FTableConfigurationIpublic void setObjectEntity(EntityI $130)
public java.util.Set<EntityI> getSubentitiesToExclude()
public void setSubentitiesToExclude(java.util.Set<EntityI> $131)
public boolean isUsePolymorphySelectionTree()
public void setUsePolymorphySelectionTree(boolean $132)
public boolean isShowEntityName()
public void setShowEntityName(boolean $133)
public java.lang.String getTemplateSource()
public void setTemplateSource(java.lang.String $134)
public java.lang.String getFontSize()
public void setFontSize(java.lang.String $135)
public boolean isShowHorizontalLines()
public void setShowHorizontalLines(boolean $136)
public boolean isShowVerticalLines()
public void setShowVerticalLines(boolean $137)
public java.lang.Integer getIntercellSpacingX()
public void setIntercellSpacingX(java.lang.Integer $138)
public java.lang.Integer getIntercellSpacingY()
public void setIntercellSpacingY(java.lang.Integer $139)
public AttributeI getAttribute()
getAttribute in interface FTableConfigurationIpublic void setAttribute(AttributeI $140)
public FDetailView getDetailView()
public void setDetailView(FDetailView $141)
public java.lang.Integer getMDIWidth()
getMDIWidth in interface MDISizeIpublic void setMDIWidth(java.lang.Integer $142)
public java.lang.Integer getMDIHeight()
getMDIHeight in interface MDISizeIpublic void setMDIHeight(java.lang.Integer $143)
public boolean isUseMaximumWidth()
RootFormElementIThis property influences how the form's layout manager sizes the component, often causing it to expand to fill horizontal space.
isUseMaximumWidth in interface RootFormElementItrue if maximum width should be used, false otherwise.public void setUseMaximumWidth(boolean $144)
public boolean isUseMaximumHeight()
RootFormElementIThis property influences how the form's layout manager sizes the component, often causing it to expand to fill vertical space.
isUseMaximumHeight in interface RootFormElementItrue if maximum height should be used, false otherwise.public void setUseMaximumHeight(boolean $145)
public boolean isLinkonly()
public void setLinkonly(boolean $146)
public boolean isViewonly()
public void setViewonly(boolean $147)
public void setReadonly(boolean $148)
public boolean isCreateInDetailView()
public void setCreateInDetailView(boolean $149)
public boolean isEditableDetailView()
public void setEditableDetailView(boolean $150)
public java.lang.String getItemProperty()
getItemProperty in interface FTableConfigurationIpublic void setItemProperty(java.lang.String $151)
public AttributeI getItemAttribute()
getItemAttribute in interface FTableConfigurationIpublic void setItemAttribute(AttributeI $152)
public FormPopupControllerI getFormPopupController()
public void setFormPopupController(FormPopupControllerI $153)
setFormPopupController in interface PopupableFormElementIpublic boolean isIgnoreSelectionEvents()
public void setIgnoreSelectionEvents(boolean $154)
public boolean isFreeSearch()
public void setFreeSearch(boolean $155)
public java.lang.String getFilter()
public void setFilter(java.lang.String $156)
public java.awt.Color getCellBackground()
getCellBackground in interface FTableConfigurationIpublic void setCellBackground(java.awt.Color $157)
public java.awt.Color getAlternateCellBackground()
getAlternateCellBackground in interface FTableConfigurationIpublic void setAlternateCellBackground(java.awt.Color $158)
public java.awt.Color getCellForeground()
getCellForeground in interface FTableConfigurationIpublic void setCellForeground(java.awt.Color $159)
public java.awt.Color getAlternateCellForeground()
getAlternateCellForeground in interface FTableConfigurationIpublic void setAlternateCellForeground(java.awt.Color $160)
public int getHorizontalScrollBarPolicy()
public void setHorizontalScrollBarPolicy(int $161)
public int getVerticalScrollBarPolicy()
public void setVerticalScrollBarPolicy(int $162)
public boolean isColumnSelectionAllowed()
public void setColumnSelectionAllowed(boolean $163)
public boolean isRowSelectionAllowed()
public void setRowSelectionAllowed(boolean $164)
public javax.swing.border.Border getOborder()
public void setOborder(javax.swing.border.Border $165)
public javax.swing.border.LineBorder getErrorBorder()
public void setErrorBorder(javax.swing.border.LineBorder $166)
public boolean isAutoSelectFirst()
public void setAutoSelectFirst(boolean $167)
public boolean isAutoSelectLast()
public void setAutoSelectLast(boolean $168)
public boolean isAutoSelectNone()
public void setAutoSelectNone(boolean $169)
public void setReloadBOsWhenOpening(boolean $170)
public void setAutoRefresh(boolean $171)
public java.lang.String[] getAdditionalAutoRefreshEntities()
getAdditionalAutoRefreshEntities in interface FTableConfigurationIpublic void setAdditionalAutoRefreshEntities(java.lang.String[] $172)
public java.lang.String getAdditionalAutoRefreshEntities(int $173)
public void setAdditionalAutoRefreshEntities(int $174,
java.lang.String $175)
public boolean isAsyncModel()
isAsyncModel in interface FTableConfigurationIpublic void setAsyncModel(boolean $176)
public boolean is_asyncModel()
public void set_asyncModel(boolean $177)
public boolean isExplicitStart()
public void setExplicitStart(boolean $178)
public boolean isSortForSelected()
public void setSortForSelected(boolean $179)
public javax.swing.JComponent getExplicitIFC()
public void setExplicitIFC(javax.swing.JComponent $180)
RootFormElementIWhen the form is displayed, focus will be directed to this specified
JComponent instead of relying on default focus traversal rules.
This provides fine-grained control over user interaction flow.
setExplicitIFC in interface RootFormElementI$180 - The JComponent that should receive initial focus.public java.util.LinkedHashMap getActions()
The returned LinkedHashMap ensures that the order of actions is
maintained, typically reflecting their insertion order. This is important
for consistent display in menus or toolbars.
LinkedHashMap where keys are action identifiers (e.g. String)
and values are the corresponding action objects (e.g. Action,
or a custom action type (e.g. FormAction).
The map should contain all top-level actions of this MDI root element, preferably in a sorted order.Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.