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
XMLConfigureInfo
inhibitFocusChange, SCROLLING_MODE_ANY, SCROLLING_MODE_HORIZONTAL_ONLY, SCROLLING_MODE_VERTICAL_ONLY, TEXTURE_CENTERED, TEXTURE_REPEAT
TOOL_TIP_TEXT_KEY, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
ALL_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() |
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) |
void |
createNewInDetailRefreshAll(BO bo) |
void |
createNewInDetailRefreshAll(BO bo,
boolean _resort) |
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 $166) |
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.lang.String |
getAutoSelectObject() |
int |
getAutoSelectObjectOff() |
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 $111) |
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.
|
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)
Semi-internal adding of new columns, based on the provided definition, to the table.
|
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 |
handleIgnoreInitialFocusA(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 |
refresh(int from,
boolean forceRefreshRelation) |
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 |
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 $170) |
void |
setAdditionalAutoRefreshEntities(int $167,
java.lang.String $168) |
void |
setAdditionalAutoRefreshEntities(java.lang.String[] $165) |
void |
setAlternateCellBackground(java.awt.Color $149) |
void |
setAlternateCellForeground(java.awt.Color $151) |
void |
setAsyncModel(boolean $169) |
void |
setAttribute(AttributeI $131) |
void |
setAutoRefresh(boolean $164) |
void |
setAutoSelectFirst(boolean $158) |
void |
setAutoSelectLast(boolean $159) |
void |
setAutoSelectNone(boolean $160) |
void |
setAutoSelectObject(java.lang.String $161) |
void |
setAutoSelectObjectOff(int $162) |
void |
setCellBackground(java.awt.Color $148) |
void |
setCellForeground(java.awt.Color $150) |
void |
setCols(FTableColumn[] $110) |
void |
setCols(int $112,
FTableColumn $113) |
void |
setColsa(java.util.ArrayList $109) |
void |
setColumnSelectionAllowed(boolean $154) |
void |
setColumnWidthFromTableModel()
Reads the current column width from the
JTable.getColumnModel() and sets it as the width
of the corresponding FTableColumn . |
void |
setCreateInDetailView(boolean $140) |
void |
setDependent(java.lang.Boolean _v) |
void |
setDetailView(FDetailView $132) |
void |
setDisplayAttribute(AttributeI $117) |
void |
setDisplayClass(java.lang.Class $105) |
void |
setDisplayProperty(java.lang.String $116) |
void |
setDoc(electric.xml.Document $114) |
void |
setEasyEdit(boolean $118) |
boolean |
setEditable() |
boolean |
setEditable(boolean isEditable) |
void |
setEditableDetailView(boolean $141) |
void |
setEditingStatus(boolean newStatus) |
void |
setEntity(EntityI $120) |
void |
setErrorBorder(javax.swing.border.LineBorder $157) |
void |
setExplicitIFC(javax.swing.JComponent $173)
Sets an explicit initial focus component for this root form element.
|
void |
setExplicitStart(boolean $171) |
void |
setFilter(java.lang.String $147) |
void |
setFontSize(java.lang.String $126) |
void |
setFormPopupController(FormPopupControllerI $144) |
void |
setFreeSearch(boolean $146) |
void |
setHorizontalScrollBarPolicy(int $152) |
void |
setIgnoreSelectionEvents(boolean $145) |
void |
setIntercellSpacingX(java.lang.Integer $129) |
void |
setIntercellSpacingY(java.lang.Integer $130) |
void |
setItemAttribute(AttributeI $143) |
void |
setItemProperty(java.lang.String $142) |
void |
setLinkonly(boolean $137) |
void |
setLinkOnly(boolean b) |
void |
setLoadImmediate(boolean _b) |
void |
setMaxRows(int $107) |
void |
setMDIHeight(java.lang.Integer $134) |
void |
setMDIWidth(java.lang.Integer $133) |
void |
setObjectEntity(EntityI $121) |
void |
setOborder(javax.swing.border.Border $156) |
void |
setOpenFormTid(java.lang.String $104) |
void |
setOpenProperty(java.lang.String $103) |
void |
setParentClass(java.lang.Class $106) |
void |
setParms(java.lang.String $115) |
void |
setQueryString(java.lang.String s) |
void |
setReadonly(boolean $139) |
void |
setReadOnly(boolean b) |
void |
setReloadBOsWhenOpening(boolean $163) |
void |
setResizeMode(java.lang.Integer $108) |
void |
setRowHeight(int row,
int height) |
void |
setRowSelectionAllowed(boolean $155) |
void |
setSelectedLine(int i) |
void |
setSelectedLines(int i,
int k)
Select a contiguous span of lines between
i and k . |
void |
setShowEntityName(boolean $124) |
void |
setShowHorizontalLines(boolean $127) |
void |
setShowVerticalLines(boolean $128) |
void |
setSingleClickEdit(boolean $119) |
void |
setSortForSelected(boolean $172) |
void |
setSubentitiesToExclude(java.util.Set<EntityI> $122) |
void |
setTemplateSource(java.lang.String $125) |
void |
setUseMaximumHeight(boolean $136) |
void |
setUseMaximumWidth(boolean $135) |
void |
setUsePolymorphySelectionTree(boolean $123) |
void |
setVerticalScrollBarPolicy(int $153) |
void |
setViewonly(boolean $138) |
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, willCareForChildActions
getPreferredScrollableViewportSize, getScrollableBlockIncrement, getScrollableTracksViewportHeight, getScrollableTracksViewportWidth, getScrollableUnitIncrement, getScrollingMode, grabFocus, init, init, init, paintComponent, setScrollingMode, setTexture
getAccessibleContext, getUI, getUIClassID, setUI, updateUI
addAncestorListener, 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, update
add, 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, validate
action, 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, transferFocusUpCycle
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getBO, getDebugName, isClosed, isDebug, refreshActions
refreshActions
addFormElementListener, 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, willCareForChildActions
public FTable(FormContextI _ftx, electric.xml.Element _confroot)
public FTableAtm getModel()
getModel
in interface FTableConfigurationI
public de.ipcon.swing.ITableSorter getSorter()
getSorter
in interface FTableConfigurationI
public void setDependent(java.lang.Boolean _v)
public java.lang.Boolean getDependent()
public boolean isDependent()
isDependent
in interface FTableConfigurationI
public 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 FormElementI
setEditable
in class FPanel
public boolean isEditable()
isEditable
in interface FormElementI
isEditable
in class FPanel
public void refreshEditableStatus()
public void hideIfPopupped()
hideIfPopupped
in interface PopupableFormElementI
public boolean isPopup()
public void close()
close
in interface FormElementI
close
in class FPanel
public 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 void handleIgnoreInitialFocusA(electric.xml.Attribute a)
public boolean isReloadBOsWhenOpening()
public boolean isAutoRefresh()
isAutoRefresh
in interface FTableConfigurationI
public boolean hasSortedColumn()
public boolean hasSortedColumn(boolean onlyVirtual)
hasSortedColumn
in interface FTableConfigurationI
public 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 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.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 FPanel
public void handleAutoSelectObjectE(electric.xml.Element e)
public void registerActionImpl(FormAction a)
registerActionImpl
in class FPanel
public java.util.HashMap getAttributeMap()
FPanel
Subclasses can and should override this method to provide their own attribute map.
getAttributeMap
in interface FormElementI
getAttributeMap
in class FPanel
public java.util.HashMap getElementMap()
FPanel
Subclasses can and should override this method to provide their own element map.
getElementMap
in interface FormElementI
getElementMap
in class FPanel
public java.util.LinkedHashMap getDefaultActionMap()
FPanel
Subclasses can and should override this method to provide their own default action map.
getDefaultActionMap
in class FPanel
public boolean hasBorderWithToolBar()
public FTableColumn getCol(int i)
getCol
in interface FTableConfigurationI
public boolean displaysRelation()
public boolean displaysSortedItems()
public boolean isLoadImmediate()
isLoadImmediate
in interface PopupableFormElementI
isLoadImmediate
in interface FTableConfigurationI
public void setLoadImmediate(boolean _b)
public final void debugTiming(java.lang.String message)
debugTiming
in interface FTableConfigurationI
public void build()
public int getRowHeight()
getRowHeight
in interface FTableConfigurationI
public int getMaxRowHeight()
getMaxRowHeight
in interface FTableConfigurationI
public int getRowHeight(int row)
getRowHeight
in interface FTableConfigurationI
public void setRowHeight(int row, int height)
setRowHeight
in interface FTableConfigurationI
public int getWidthSpec(java.lang.String def)
getWidthSpec
in interface FTableConfigurationI
public int getHeightSpec(java.lang.String def)
getHeightSpec
in interface FTableConfigurationI
public 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 FormElementI
willCareForChildRefresh
in class FPanel
public void refresh()
refresh
in interface FormElementI
refresh
in class FPanel
public void refresh(int from)
refresh
in interface FormElementI
refresh
in class FPanel
public void refresh(int from, boolean forceRefreshRelation)
public void postRefresh()
postRefresh
in class FPanel
public void postRefresh(int from)
postRefresh
in interface FormElementI
postRefresh
in class FPanel
public void fastRefresh()
public void prepareForShowPopup()
prepareForShowPopup
in interface PopupableFormElementI
public void handleMouseEvent(java.awt.event.MouseEvent m)
public void mouseExited(java.awt.event.MouseEvent m)
mouseExited
in interface java.awt.event.MouseListener
public void mouseClicked(java.awt.event.MouseEvent m)
mouseClicked
in interface java.awt.event.MouseListener
public void mousePressed(java.awt.event.MouseEvent m)
mousePressed
in interface java.awt.event.MouseListener
public void mouseEntered(java.awt.event.MouseEvent m)
mouseEntered
in interface java.awt.event.MouseListener
public void mouseReleased(java.awt.event.MouseEvent m)
mouseReleased
in interface java.awt.event.MouseListener
public void focusGained(java.awt.event.FocusEvent fe)
focusGained
in interface java.awt.event.FocusListener
public void focusLost(java.awt.event.FocusEvent fe)
focusLost
in interface java.awt.event.FocusListener
public void progressCancelButtonActionPressed(java.awt.event.ActionEvent a)
public void displayStopping()
displayStopping
in interface FTableConfigurationI
public void displayLoading(boolean withStopButton)
displayLoading
in interface FTableConfigurationI
public void displayReady()
displayReady
in interface FTableConfigurationI
public void fireProgressChange(int current, int total, java.lang.String text)
fireProgressChange
in interface ProgressDisplayI
public void refreshProgressLabel()
refreshProgressLabel
in interface FTableConfigurationI
public void showProgressComponents(boolean withStopButton)
public void hideProgressComponents()
public int getTranslatedRow(int row)
getTranslatedRow
in interface FTableConfigurationI
public int getTranslatedColumn(int col)
getTranslatedColumn
in interface FTableConfigurationI
public int getViewRow(int row)
getViewRow
in interface FTableConfigurationI
public int getViewColumn(int column)
getViewColumn
in interface FTableConfigurationI
public 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 i
int
- 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 FTableConfigurationI
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()
LoadingStatusListenerI
readyLoading
in interface LoadingStatusListenerI
public void beforeSavePerformed(FormElementI fe)
beforeSavePerformed
in interface FormElementListenerI
public void afterSavePerformed(FormElementI fe)
afterSavePerformed
in interface FormElementListenerI
public void syncPerformed(FormElementI fe)
syncPerformed
in interface FormElementListenerI
public void refreshPerformed(FormElementI fe)
refreshPerformed
in interface FormElementListenerI
public void beforeSetValuePerformed(FormElementI fe, java.lang.Object old, java.lang.Object $new)
beforeSetValuePerformed
in interface FormElementListenerI
public void afterSetValuePerformed(FormElementI fe, java.lang.Object old, java.lang.Object $new)
afterSetValuePerformed
in interface FormElementListenerI
public void mdiOpen(MDIElementI me)
mdiOpen
in interface FormElementI
mdiOpen
in class FPanel
public void actionPerformed(java.awt.event.ActionEvent a)
actionPerformed
in interface java.awt.event.ActionListener
public void handleQueryGUIEvent(QueryGUIEvent ev)
handleQueryGUIEvent
in interface QueryGUIListenerI
public 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 PopupableFormElementI
public 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 PopupableFormElementI
public BO delegatedNewElement(java.awt.event.ActionEvent a)
delegatedNewElement
in interface PopupableFormElementI
public BO action_newElement()
action_newElement
in interface PopupableFormElementI
public BO action_newElement(java.awt.event.ActionEvent a)
action_newElement
in interface PopupableFormElementI
public 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 PopupableFormElementI
public 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 PopupableFormElementI
public 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 PopupableFormElementI
public java.util.Iterator startCustomIterator()
startCustomIterator
in interface FTableConfigurationI
public boolean hasQuery()
hasQuery
in interface FTableConfigurationI
public de.ipcon.db.core.QueryResultsI startQuery()
startQuery
in interface FTableConfigurationI
public void triggerQuery(java.lang.String s)
triggerQuery
in interface PopupableFormElementI
public void setQueryString(java.lang.String s)
setQueryString
in interface PopupableFormElementI
public 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 PopupableFormElementI
public void _startEditing()
public void fireColumnStructureChange()
fireColumnStructureChange
in interface FTableConfigurationI
public void insertItemWithNumber(netrexx.lang.Rexx aktnr)
public void refreshDetails()
public BO createNewItem()
public BO createNewItem(java.awt.event.ActionEvent a)
public void createNewInDetailRefreshAll(BO bo)
public void createNewInDetailRefreshAll(BO bo, boolean _resort)
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 PopupableFormElementI
public 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.ListSelectionListener
public 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 Object
s 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 Object
s 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 PopupableFormElementI
public void removePopupElementListener(PopupElementListenerI l)
removePopupElementListener
in interface PopupableFormElementI
public 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 InitialFocusCandidateI
public javax.swing.JComponent getInitialFocus(boolean force)
public void autoSelectRows()
public boolean requestFocusInWindow()
FPanel
This method overrides JComponent.requestFocusInWindow()
and delegates
to the more specific FPanel.requestFocusInWindow(boolean)
with "temporary" set to false
.
requestFocusInWindow
in class FPanel
true
if the focus request is likely to be granted, false
otherwise.public java.awt.Component getAsComponent()
getAsComponent
in interface PopupableFormElementI
public java.awt.Font getFont()
getFont
in interface java.awt.MenuContainer
getFont
in class java.awt.Component
public 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.ITableActionListenerI
clickCount
- 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.ITableActionListenerI
columnToSort
- 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.ITableActionListenerI
columnToOptimize
- 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 FTableConfigurationI
row
- 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 FTableConfigurationI
public 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()
CellDataProviderI
getSelectedColumns
in interface CellDataProviderI
public int[] getSelectedRows()
CellDataProviderI
getSelectedRows
in interface CellDataProviderI
public java.lang.String getColumnTitle(int columnIndex)
CellDataProviderI
getColumnTitle
in interface CellDataProviderI
columnIndex
- the index of the columnpublic java.lang.Integer getColumnWidth(int columnIndex)
CellDataProviderI
getColumnWidth
in interface CellDataProviderI
columnIndex
- the index of the columnpublic float getCharacterUnitWidth()
CellDataProviderI
getCharacterUnitWidth
in interface CellDataProviderI
SwingTools#getCharacterUnitWidth
public L10nDateFormat getColumnDisplayFormatAsL10nDateFormat(int columnIndex)
CellDataProviderI
getColumnDisplayFormatAsL10nDateFormat
in interface CellDataProviderI
columnIndex
- the index of the columnL10nDateFormat
public L10nDecimalFormat getColumnDisplayFormatAsL10nDecimalFormat(int columnIndex)
CellDataProviderI
getColumnDisplayFormatAsL10nDecimalFormat
in interface CellDataProviderI
columnIndex
- the index of the columnL10nDecimalFormat
public java.lang.Object getCellValueAt(int rowIndex, int columnIndex)
CellDataProviderI
getCellValueAt
in interface CellDataProviderI
rowIndex
- the index of the rowcolumnIndex
- the index of the columnpublic java.lang.String getCellRenderedValueAt(int rowIndex, int columnIndex)
CellDataProviderI
getCellRenderedValueAt
in interface CellDataProviderI
rowIndex
- the index of the rowcolumnIndex
- the index of the columnpublic void componentHidden(java.awt.event.ComponentEvent e)
componentHidden
in interface java.awt.event.ComponentListener
public void componentMoved(java.awt.event.ComponentEvent e)
componentMoved
in interface java.awt.event.ComponentListener
public void componentResized(java.awt.event.ComponentEvent e)
componentResized
in interface java.awt.event.ComponentListener
public void componentShown(java.awt.event.ComponentEvent e)
componentShown
in interface java.awt.event.ComponentListener
public java.lang.String getOpenProperty()
public void setOpenProperty(java.lang.String $103)
public java.lang.String getOpenFormTid()
public void setOpenFormTid(java.lang.String $104)
public java.lang.Class getDisplayClass()
getDisplayClass
in interface FTableConfigurationI
public void setDisplayClass(java.lang.Class $105)
public java.lang.Class getParentClass()
getParentClass
in interface FTableConfigurationI
public void setParentClass(java.lang.Class $106)
public int getMaxRows()
getMaxRows
in interface FTableConfigurationI
public void setMaxRows(int $107)
public java.lang.Integer getResizeMode()
getResizeMode
in interface FTableConfigurationI
public void setResizeMode(java.lang.Integer $108)
public java.util.ArrayList getColsa()
public void setColsa(java.util.ArrayList $109)
public FTableColumn[] getCols()
getCols
in interface FTableConfigurationI
public void setCols(FTableColumn[] $110)
public FTableColumn getCols(int $111)
public void setCols(int $112, FTableColumn $113)
public electric.xml.Document getDoc()
public void setDoc(electric.xml.Document $114)
public java.lang.String getParms()
public void setParms(java.lang.String $115)
public java.lang.String getDisplayProperty()
getDisplayProperty
in interface FormElementWithDisplayPropertyI
getDisplayProperty
in interface FTableConfigurationI
public void setDisplayProperty(java.lang.String $116)
public AttributeI getDisplayAttribute()
getDisplayAttribute
in interface FTableConfigurationI
public void setDisplayAttribute(AttributeI $117)
public boolean isEasyEdit()
public void setEasyEdit(boolean $118)
public boolean isSingleClickEdit()
public void setSingleClickEdit(boolean $119)
public EntityI getEntity()
getEntity
in interface FTableConfigurationI
public void setEntity(EntityI $120)
public EntityI getObjectEntity()
getObjectEntity
in interface FTableConfigurationI
public void setObjectEntity(EntityI $121)
public java.util.Set<EntityI> getSubentitiesToExclude()
public void setSubentitiesToExclude(java.util.Set<EntityI> $122)
public boolean isUsePolymorphySelectionTree()
public void setUsePolymorphySelectionTree(boolean $123)
public boolean isShowEntityName()
public void setShowEntityName(boolean $124)
public java.lang.String getTemplateSource()
public void setTemplateSource(java.lang.String $125)
public java.lang.String getFontSize()
public void setFontSize(java.lang.String $126)
public boolean isShowHorizontalLines()
public void setShowHorizontalLines(boolean $127)
public boolean isShowVerticalLines()
public void setShowVerticalLines(boolean $128)
public java.lang.Integer getIntercellSpacingX()
public void setIntercellSpacingX(java.lang.Integer $129)
public java.lang.Integer getIntercellSpacingY()
public void setIntercellSpacingY(java.lang.Integer $130)
public AttributeI getAttribute()
getAttribute
in interface FTableConfigurationI
public void setAttribute(AttributeI $131)
public FDetailView getDetailView()
public void setDetailView(FDetailView $132)
public java.lang.Integer getMDIWidth()
getMDIWidth
in interface MDISizeI
public void setMDIWidth(java.lang.Integer $133)
public java.lang.Integer getMDIHeight()
getMDIHeight
in interface MDISizeI
public void setMDIHeight(java.lang.Integer $134)
public boolean isUseMaximumWidth()
RootFormElementI
This property influences how the form's layout manager sizes the component, often causing it to expand to fill horizontal space.
isUseMaximumWidth
in interface RootFormElementI
true
if maximum width should be used, false
otherwise.public void setUseMaximumWidth(boolean $135)
public boolean isUseMaximumHeight()
RootFormElementI
This property influences how the form's layout manager sizes the component, often causing it to expand to fill vertical space.
isUseMaximumHeight
in interface RootFormElementI
true
if maximum height should be used, false
otherwise.public void setUseMaximumHeight(boolean $136)
public boolean isLinkonly()
public void setLinkonly(boolean $137)
public boolean isViewonly()
public void setViewonly(boolean $138)
public void setReadonly(boolean $139)
public boolean isCreateInDetailView()
public void setCreateInDetailView(boolean $140)
public boolean isEditableDetailView()
public void setEditableDetailView(boolean $141)
public java.lang.String getItemProperty()
getItemProperty
in interface FTableConfigurationI
public void setItemProperty(java.lang.String $142)
public AttributeI getItemAttribute()
getItemAttribute
in interface FTableConfigurationI
public void setItemAttribute(AttributeI $143)
public FormPopupControllerI getFormPopupController()
public void setFormPopupController(FormPopupControllerI $144)
setFormPopupController
in interface PopupableFormElementI
public boolean isIgnoreSelectionEvents()
public void setIgnoreSelectionEvents(boolean $145)
public boolean isFreeSearch()
public void setFreeSearch(boolean $146)
public java.lang.String getFilter()
public void setFilter(java.lang.String $147)
public java.awt.Color getCellBackground()
getCellBackground
in interface FTableConfigurationI
public void setCellBackground(java.awt.Color $148)
public java.awt.Color getAlternateCellBackground()
getAlternateCellBackground
in interface FTableConfigurationI
public void setAlternateCellBackground(java.awt.Color $149)
public java.awt.Color getCellForeground()
getCellForeground
in interface FTableConfigurationI
public void setCellForeground(java.awt.Color $150)
public java.awt.Color getAlternateCellForeground()
getAlternateCellForeground
in interface FTableConfigurationI
public void setAlternateCellForeground(java.awt.Color $151)
public int getHorizontalScrollBarPolicy()
public void setHorizontalScrollBarPolicy(int $152)
public int getVerticalScrollBarPolicy()
public void setVerticalScrollBarPolicy(int $153)
public boolean isColumnSelectionAllowed()
public void setColumnSelectionAllowed(boolean $154)
public boolean isRowSelectionAllowed()
public void setRowSelectionAllowed(boolean $155)
public javax.swing.border.Border getOborder()
public void setOborder(javax.swing.border.Border $156)
public javax.swing.border.LineBorder getErrorBorder()
public void setErrorBorder(javax.swing.border.LineBorder $157)
public boolean isAutoSelectFirst()
public void setAutoSelectFirst(boolean $158)
public boolean isAutoSelectLast()
public void setAutoSelectLast(boolean $159)
public boolean isAutoSelectNone()
public void setAutoSelectNone(boolean $160)
public java.lang.String getAutoSelectObject()
public void setAutoSelectObject(java.lang.String $161)
public int getAutoSelectObjectOff()
public void setAutoSelectObjectOff(int $162)
public void setReloadBOsWhenOpening(boolean $163)
public void setAutoRefresh(boolean $164)
public java.lang.String[] getAdditionalAutoRefreshEntities()
getAdditionalAutoRefreshEntities
in interface FTableConfigurationI
public void setAdditionalAutoRefreshEntities(java.lang.String[] $165)
public java.lang.String getAdditionalAutoRefreshEntities(int $166)
public void setAdditionalAutoRefreshEntities(int $167, java.lang.String $168)
public boolean isAsyncModel()
isAsyncModel
in interface FTableConfigurationI
public void setAsyncModel(boolean $169)
public boolean is_asyncModel()
public void set_asyncModel(boolean $170)
public boolean isExplicitStart()
public void setExplicitStart(boolean $171)
public boolean isSortForSelected()
public void setSortForSelected(boolean $172)
public javax.swing.JComponent getExplicitIFC()
public void setExplicitIFC(javax.swing.JComponent $173)
RootFormElementI
When 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
$173
- 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.