The table format Bean has the following information and Customizer functions.
See
"Package Guide"- JFTableView
Property information
Name | Type | Reference | Setting | Explanation |
---|---|---|---|---|
background | java.awt | Y | Y | Background color |
borderColor | java.awt | Y | Y | Border line color |
borderType | int | Y | Y | Border line type |
borderWidth | int | Y | Y | Border line width |
cellAlignmentHorizontal | com.fujitsu.jbk.gui | Y | Horizontal character display position of cells | |
cellAlignmentVertical | com.fujitsu.jbk.gui | Y | Vertical character display position of cells | |
cellBackground | com.fujitsu.jbk.gui | Y | Background color of cells | |
cellBorderColor | com.fujitsu.jbk.gui | Y | Border color of cells | |
cellBorderType | com.fujitsu.jbk.gui | Y | Border type of cells | |
cellBorderWidth | com.fujitsu.jbk.gui | Y | Border width of cells | |
cellEditable | com.fujitsu.jbk.gui | Y | Cell editable/not editable | |
cellFont | com.fujitsu.jbk.gui | Y | Cell font | |
cellForeground | com.fujitsu.jbk.gui | Y | Foreground color of cells | |
cellObject | com.fujitsu.jbk.gui | Y | Object of a cell | |
cellString | com.fujitsu.jbk.gui | Y | Character string in a cell | |
cellVisible | com.fujitsu.jbk.gui | Y | Display/non-display of cells | |
columnAlignmentHorizontal | com.fujitsu.jbk.gui | Y | Horizontal character display position of a cell in a specified column | |
columnAlignmentVertical | com.fujitsu.jbk.gui | Y | Vertical character display position of a cell in a specified column | |
columnBackground | com.fujitsu.jbk.gui | Y | Background color of cells in a specified column | |
columnBorderColor | com.fujitsu.jbk.gui | Y | Color of border of cells in a specified column | |
columnBorderType | com.fujitsu.jbk.gui | Y | Type of border of cells in a specified column | |
columnBorderWidth | com.fujitsu.jbk.gui | Y | Width of border of cells in a specified column | |
columnCharWidth | com.fujitsu.jbk.gui | Y | Width of the character in specified column | |
columnCount | int | Y | Y | Number of columns |
columnEditable | com.fujitsu.jbk.gui | Y | Whether or not cells in a specified column can be edited | |
columnFont | com.fujitsu.jbk.gui | Y | Font of cells in a specified column | |
columnForeground | com.fujitsu.jbk.gui | Y | Foreground color of cells in a specified column | |
columnVisible | com.fujitsu.jbk.gui | Y | Whether or not cells in a specified column are visible | |
columnWidth | com.fujitsu.jbk.gui | Y | Width of the specified column | |
columns | int | Y | Y | Number of columns that indicates the display size |
componentOrientation | java.awt | Y | Y | The orientation of the string. It depends on the language |
controlEnabled | boolean | Y | Y | Whether to operation of the possible/impossibility of the added component |
defaultCell | com.fujitsu.jbk.gui | Y | Y | Default cell for data |
defaultCellHeight | int | Y | Y | Default cell height |
defaultCellWidth | int | Y | Y | Default cell width |
defaultHeaderCell | com.fujitsu.jbk.gui | Y | Y | Default cell for header |
dragMode | boolean | Y | Y | Table border line dragging enabled/disabled |
editable | boolean | Y | Y | Entire cell editing enabled/disabled |
enableMenu | boolean | Y | Y | Whether to display the popup menu |
enableToolTip | boolean | Y | Y | Whether to display the tool tip |
enabled | boolean | Y | Y | Whether enabled |
focusTraversalKeysEnabled | boolean | Y | Y | Whether the focus traversal key is available |
focusable | boolean | Y | Y | Whether the focus can be set |
font | java.awt | Y | Y | Font |
foreground | java.awt | Y | Y | Foreground color |
format | com.fujitsu.jbk.gui | Y | Format of the specified column | |
headerCellAlignmentHorizontal | com.fujitsu.jbk.gui | Y | Horizontal character display position of a header cell | |
headerCellAlignmentVertical | com.fujitsu.jbk.gui | Y | Vertical character display position of a header cell | |
headerCellBackground | com.fujitsu.jbk.gui | Y | Background color of a header cell | |
headerCellBorderColor | com.fujitsu.jbk.gui | Y | Color of border of a header cell | |
headerCellBorderType | com.fujitsu.jbk.gui | Y | Type of border of a header cell | |
headerCellBorderWidth | com.fujitsu.jbk.gui | Y | Width of border of a header cell | |
headerCellFont | com.fujitsu.jbk.gui | Y | Font of a header cell | |
headerCellForeground | com.fujitsu.jbk.gui | Y | Foreground color of a header cell | |
headerCellObject | com.fujitsu.jbk.gui | Y | Object of a header cell | |
headerCellString | com.fujitsu.jbk.gui | Y | Character string in a header cell | |
headerCellVisible | com.fujitsu.jbk.gui | Y | Whether to display a header cell | |
headerColumnCharWidth | com.fujitsu.jbk.gui | Y | Width of the character in specified header column | |
headerColumnWidth | com.fujitsu.jbk.gui | Y | Width of the specified header column | |
headerColumns | int | Y | Y | Number of header columns |
headerRowHeight | com.fujitsu.jbk.gui | Y | Height of the specified header line | |
headerRows | int | Y | Y | Number of header lines |
headerTableBorderColor | java.awt | Y | Y | Header table border line color |
ignoreRepaint | boolean | Y | Y | Whether the paint message of the operating system should be ignored |
jumpMode | boolean | Y | Y | Automatic scroll mode |
locale | java.util | Y | Y | Locale information |
multipleMode | boolean | Y | Y | Multiple selection mode/single selection mode |
name | java.lang | Y | Y | Name |
position | com.fujitsu.jbk.gui | Y | Cursor position | |
remoteFont | boolean | Y | Whether the registered font is a remote font | |
rowAlignmentHorizontal | com.fujitsu.jbk.gui | Y | Horizontal character display position of a cell in a specified row | |
rowAlignmentVertical | com.fujitsu.jbk.gui | Y | Vertical character display position of a cell in a specified row | |
rowBackground | com.fujitsu.jbk.gui | Y | Background color of cells in a specified row | |
rowBorderColor | com.fujitsu.jbk.gui | Y | Color of border of cells in a specified row | |
rowBorderType | com.fujitsu.jbk.gui | Y | Type of border of cells in a specified row | |
rowBorderWidth | com.fujitsu.jbk.gui | Y | Width of border of cells in a specified row | |
rowCount | int | Y | Y | Number of lines |
rowEditable | com.fujitsu.jbk.gui | Y | Whether or not cells in a specified row can be edited | |
rowFont | com.fujitsu.jbk.gui | Y | Font of cells in a specified row | |
rowForeground | com.fujitsu.jbk.gui | Y | Foreground color of cells in a specified row | |
rowHeight | com.fujitsu.jbk.gui | Y | Height of the specified line | |
rowVisible | com.fujitsu.jbk.gui | Y | Whether or not cells in a specified row are visible | |
rows | int | Y | Y | Number of lines that indicate the display size |
scrollbarMode | boolean | Y | Y | Display mode of scroll bar |
selectedObjects | java.lang | Y | Selected cell position list | |
selectedPosition | com.fujitsu.jbk.gui | Y | Selected cell position | |
strictly | com.fujitsu.jbk.gui | Y | Whether disable the character string which isn't suitable for the format of the specified column | |
tableBorderColor | java.awt | Y | Y | Table border line color |
tableBorderHeight | int | Y | Y | Table border line height |
tableBorderWidth | int | Y | Y | Table border line width |
tableColumns | int | Y | Number of columns including the header | |
tableRows | int | Y | Number of lines including the header | |
toolTipText | java.lang | Y | Y | Tool tip text |
viewMode | boolean | Y | Y | Whether the mode is view mode |
visible | boolean | Y | Y | Whether visible |
wheelScrollingEnabled | boolean | Y | Y | Whether to enable scrollbar operation with mouse wheel |
Event information
Name | Listener | Addition/removal | Method | Explanation |
---|---|---|---|---|
adjustment | java.awt.event | addAdjustmentListener | adjustmentValueChanged | Is issued when the value of the adjustable object changes from this scroll bar. |
component | java.awt.event | addComponentListener | componentResized | Is issued when the component status changes. |
componentMoved | ||||
componentShown | ||||
componentHidden | ||||
focus | java.awt.event | addFocusListener | focusGained | Is issued when the focus moves. |
focusLost | ||||
inputMethod | java.awt.event | addInputMethodListener | caretPositionChanged | Is issued when the input method status changes. |
inputMethodTextChanged | ||||
item | java.awt.event | addItemListener | itemStateChanged | Is issued when the cell is selected by mouse or key operation. |
key | java.awt.event | addKeyListener | keyTyped | Is issued by key operation. |
keyPressed | ||||
keyReleased | ||||
mouse | java.awt.event | addMouseListener | mouseClicked | Is issued by mouse operation. |
mousePressed | ||||
mouseReleased | ||||
mouseEntered | ||||
mouseExited | ||||
mouseMotion | java.awt.event | addMouseMotionListener | mouseDragged | Is issued when the mouse moves. |
mouseMoved | ||||
mouseWheel | java.awt.event | addMouseWheelListener | mouseWheelMoved | Is issued by mouse wheel operation. |
propertyChange | java.beans | addPropertyChangeListener | propertyChange | Is issued when the property changes. |
tableViewAction | com.fujitsu.jbk.gui | addTableViewActionListener | inputAreaOpen | Is issued when the JFTableView specific operation is performed. |
inputAreaClose | ||||
cursorMoved | ||||
allSelected | ||||
allDeselected | ||||
rowSelected | ||||
rowDeselected | ||||
columnSelected | ||||
columnDeselected | ||||
text | java.awt.event | addTextListener | textValueChanged | Is issued when the cell character string changes. |
Method information
Name | Parameters | Explanation |
---|---|---|
addColumn | Adds a column at the end. | |
addRow | Adds a line at the end. | |
allCellDeselect | Deselects all cells. | |
allCellSelect | Selects all cells. | |
calculateView | Calculates the screen size and scroll bar position and redraws. | |
copy | Copies the selected cell data(=character string) onto the clipboard. | |
copyColumn | int | Copies the column onto the specified position. |
int | ||
copyRow | int | Copies the line onto the specified position. |
int | ||
deselectCell | int | Deselects the cell. |
int | ||
exchangeColumn | int | Replaces the specified column. |
int | ||
exchangeRow | int | Replaces the specified line. |
int | ||
fullRepaint | Redraws all cells. | |
hideToolTip | Erases the tool tip. | |
inputAreaClose | boolean | Does not display the input field. |
inputAreaOpen | Displays the input field of the cell at the cursor position. | |
insertColumn | int | Adds the column to the specified position. |
insertRow | int | Adds the line to the specified position. |
jump | int | Scrolls so that the cell at the specified position fits the screen. |
int | ||
moveColumn | int | Moves the specified column. |
int | ||
moveRow | int | Moves the specified line. |
int | ||
paste | Pastes from the clipboard. | |
removeColumn | int | Deletes the specified column. |
removeRow | int | Deletes the specified line. |
replaceColumn | int | Overwrites the specified column. |
int | ||
replaceRow | int | Overwrites the specified line. |
int | ||
requestFocus | Requests an input focus. | |
selectCell | int | Selects the cell. |
int | ||
setCellAlignmentHorizontal | int | Set the character display position in the side direction of all cells. |
setCellAlignmentVertical | int | Set the character display position in the vertical direction of all cells. |
setCellBackground | java.awt | Set the background color of all cells. |
setCellBorderColor | java.awt | Set the border color of all cells. |
setCellBorderType | int | Set the border type of all cells. |
setCellBorderWidth | int | Set the border width of all cells. |
setCellEditable | boolean | Set edit enabled/disabled of all cells. |
setCellFont | java.awt | Set the font of all cells. |
setCellForeground | java.awt | Set the foreground color of all cells. |
setCellVisible | boolean | Set display/no display of all cells. |
setColumnChars | int | Set the width of the character of all columns. |
setRowColumnCount | int | Set the number of data line column. |
int | ||
setTableBorder | int | Set the border height and width at the same time. |
int | ||
setTextField | com.fujitsu.jbk.gui | Set the JFFieldString class to use as an input field. |
showToolTip | java.lang | Displays the tool tip. |
java.awt | ||
java.awt | ||
long | ||
transferFocus | Moves the focus to the next component. |
Customizer
Table
Set the entire table information.
Set the number of data lines. Specify from 0 to 2147483644 as the number of data lines.
Set the number of data columns. Specify from 0 to 2147483644 as the number of data columns.
Set the number of header lines. Specify from 0 to 3 as the number of header lines.
Set the number of header columns. Specify from 0 to 3 as the number of header columns.
Set the number of display lines. Specify from 0 to 2147483647 as the number of display lines.
Set the number of display columns. Specify from 0 to 2147483647 as the number of display columns.
Select the setting area for setting the line and column sizes from Data area/Header area.
Select the index of the line for which the line and column sizes are set. For the index, set a series of positive integers starting at 0. The maximum value of the index is the number of data lines minus 1.
Select the height of the line for which the line and column sizes are set with a pixel value. Specify 0 to 2147483647 as the line height.
Note
A system sometimes becomes unstable when very big value is established in the line height.
Select the index of the column for which the line and column sizes are set. For the index, set a series of positive integers starting at 0. The maximum value of the index is the number of data columns minus 1.
Set the width of the column for which the line and column sizes are set with a pixel value. Specify from 0 to 2147483647 as the width of the column.
Note
A system sometimes becomes unstable when very big value is established in the width of the column.
Set the width of column by the number of the digit of the character.
In case of theses methods may be called before time this table is displayed, it is error.
If you used the screen designer of the integrated development environment, theses methods specified by 'Width of the Character Column' may be called before time this table is displayed.
Because such a situation leads to an error, use the source editor of the integrated development environment to change the order of calling methods.
Select the index of data area column to do a setup of format. For the index, set a series of positive integers starting at 0. The maximum value of the index is the number of data columns minus 1.
Select the format of a column to define format from among No, yyyy/M/d, d-MMMM-yy, H:mm:ss, #0, #0.00, #,##0, $#,##, or #0%. "No" is select when a format isn't established in the column.
Select the management of the character string which isn't suitable for the format from Invalid/Show as it is.
Mode
Set the table mode.
Set whether to enable the border width change. If this item is checked, the border width can be changed.
When the mouse pointer is positioned on the border boundary while changing is enabled, the mouse pointer changes its shape. Dragging in that status can change the border width.
Set whether editing is enabled. If this item is checked, editing is enabled.
Set whether to perform automatic scroll. If this item is checked, automatic scroll is performed at the addition/insertion of lines and columns so that the target line fits on the screen.
Set whether to enable multiple selection. If this item is checked, multiple selection is enabled.
Set display/no display for the scroll bar. If this item is checked, the scroll bar is displayed so that it matches the table size. If this item is unchecked, the scroll bar is displayed so that it matches the entire component size.
Set whether to set the view mode. If this item is checked, the mode becomes the view mode and editing in the table is disabled.
Set whether to enable scrolling with mouse wheel. If checked, scrolling with mouse wheel operation is enabled.
Default
Set the default cell attributes.
Set the default data cell.
When the button is pressed, [Cell] setting dialog is displayed.
The properties of the data cell can be set up.
Set the default header cell.
When the button is pressed, [Cell] setting dialog is displayed.
The properties of the header cell can be set up.
Set the default column width with a pixel value. This is used as the initial value of added/inserted column. Specify from 0 to 2147483647 as the column width.
Set the default line height with a pixel value. This is used as the initial value of added/inserted line. Specify 0 to 2147483647 as the height.
Table border line
Set attributes such as the table border line color.
Set the table border line color of the data area. When the button is pressed, Color setting dialog is displayed.
Set the table border line color of the header area. When the button is pressed, Color setting dialog is displayed.
Set the thickness of the vertical table border line with a pixel value. Specify from 0 to 5 as the border width.
Set the thickness of the horizontal table border line with a pixel value. Specify from 0 to 5 as the border width.
Data
Set the cell value.
In the initial status, data cannot be set because the table sizes (number of lines and number of columns) are not defined. First, set the number of lines and number of columns in the 'table' property, then set the value in each cell. To edit the value, specify the index of the edit cell.
Select the value setting area from Data area/Header area.
Select the value setting target (unit) from among Individual, One line, or One column.
Set the index of the value setting line. For the index, set a series of positive integers starting at 0. The maximum value of the index is the number of data lines minus 1.
Set the index of the value setting column. For the index, set a series of positive integers starting at 0. The maximum value of the index is the number of data columns minus 1.
Select the horizontal display position of the strings from among Left justified, Centered or Right justified.
Select the vertical display position of the strings from among Top-justified, Centered or Bottom-justified.
Set the foreground color and background color. When the button is pressed, [Foreground Color/Background Color] setting dialog is displayed.
Set the border type from among Flat, Convex, or Concave.
Set the border color. When the button is pressed, Color setting dialog is displayed.
Set the border width with a pixel value. Specify 0 to 5 as the border width.
Set the font. When the button is pressed, [Font] setting dialog is displayed.
Set whether editing is enabled. If this item is checked, editing is enabled.
Set display/no display for the value. If this item is checked, the value is displayed.
Select the data type from among String, Numeric or Boolean. The input field of 'Value' depends on 'Data Type'.
Set the value of the selected node column. The set value is set as the following object class.
String type: java.lang.String
Numeric type: java.lang.Long
Boolean type: java.lang.Boolean
Displays the data specified for the items.