| Modifier and Type | Class and Description |
|---|---|
| pack-priv class | |
| pack-priv class | |
| pack-priv static class | |
| pack-priv class | |
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| private HashMap | |
| private MBeanAttributeInfo[] | |
| private final TableModelListener | |
| private static final String[] | |
| private static TableCellEditor | |
| pack-priv final System. | |
| private XMBean | |
| private MBeanInfo | |
| private MBeansTab | |
| private XMBeanAttributes. | |
| private int | |
| private HashMap | |
| private TableCellEditor | |
| private HashMap | |
| private WeakHashMap |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | addTableData(DefaultTableModel tableModel, XMBean mbean, MBeanAttributeInfo[] attributesInfo, HashMap<String, Object> attributes, HashMap<String, Object> unavailableAttributes, HashMap<String, Object> viewableAttributes)
|
| public void | |
| pack-priv void | |
| public void | columnMarginChanged(ChangeEvent e)
Overrides javax. Implements javax. Invoked when a column is moved due to a margin change. |
| private Runnable | |
| public final boolean | editCellAt(final int row, final int column, EventObject e)
Overrides javax. Programmatically starts editing the cell at |
| public synchronized void | |
| private void | |
| public synchronized TableCellRenderer | getCellRenderer(int row, int column)
Overrides sun. This method sets read write rows to be blue, and other rows to be their default rendered colour. |
| public String | |
| public synchronized int | getRowCount()
Overrides javax. Override JTable method in order to make any call to this method atomic with TableModel elements. |
| public String | |
| public Object | |
| public String | |
| private XMBeanAttributes. | |
| public synchronized boolean | isAttributeViewable(int row, int col)
Implements abstract sun.
|
| public boolean | isCellEditable(int row, int col)
Overrides sun. Returns true if the cell at |
| public synchronized boolean | |
| public boolean | isColumnEditable(int column)
Implements abstract sun.
|
| public synchronized boolean | |
| public boolean | |
| private boolean | |
| public synchronized boolean | |
| public void | |
| public synchronized Component | prepareRenderer(TableCellRenderer renderer, int row, int column)
Overrides sun. Prepares the renderer by querying the data model for the
value and selection state
of the cell at |
| public void | |
| private void | |
| pack-priv synchronized void | |
| private void | |
| public void | setTableValue(Object value, int row)
Implements abstract sun.
|
| public void | setValueAt(Object value, int row, int column)
Overrides javax. Sets the value for the cell in the table model at |
| pack-priv void | sortRequested(int column)
Overrides sun. Called by TableSorter if a mouse event requests to sort the rows. |
| public void | |
| private void | |
| pack-priv void | |
| pack-priv XMBeanAttributes. |
| attributes | back to summary |
|---|---|
| private HashMap<String, Object> attributes | |
| attributesInfo | back to summary |
|---|---|
| private MBeanAttributeInfo[] attributesInfo | |
| attributesListener | back to summary |
|---|---|
| private final TableModelListener attributesListener | |
| columnNames | back to summary |
|---|---|
| private static final String[] columnNames | |
| editor | back to summary |
|---|---|
| private static TableCellEditor editor | |
| LOGGER | back to summary |
|---|---|
| pack-priv final System. | |
| mbean | back to summary |
|---|---|
| private XMBean mbean | |
| mbeanInfo | back to summary |
|---|---|
| private MBeanInfo mbeanInfo | |
| mbeansTab | back to summary |
|---|---|
| private MBeansTab mbeansTab | |
| mouseListener | back to summary |
|---|---|
| private XMBeanAttributes. | |
| rowMinHeight | back to summary |
|---|---|
| private int rowMinHeight | |
| unavailableAttributes | back to summary |
|---|---|
| private HashMap<String, Object> unavailableAttributes | |
| valueCellEditor | back to summary |
|---|---|
| private TableCellEditor valueCellEditor | |
| viewableAttributes | back to summary |
|---|---|
| private HashMap<String, Object> viewableAttributes | |
| viewersCache | back to summary |
|---|---|
| private WeakHashMap<XMBean, HashMap<String, XMBeanAttributes. | |
| XMBeanAttributes | back to summary |
|---|---|
| public XMBeanAttributes(MBeansTab mbeansTab) | |
| addTableData | back to summary |
|---|---|
| protected void addTableData(DefaultTableModel tableModel, XMBean mbean, MBeanAttributeInfo[] attributesInfo, HashMap<String, Object> attributes, HashMap<String, Object> unavailableAttributes, HashMap<String, Object> viewableAttributes) | |
| cancelCellEditing | back to summary |
|---|---|
| public void cancelCellEditing() | |
| collapse | back to summary |
|---|---|
| pack-priv void collapse(String attributeName, final Component c) | |
| columnMarginChanged | back to summary |
|---|---|
| public void columnMarginChanged(ChangeEvent e) Overrides javax. Implements javax. Doc from javax. Invoked when a column is moved due to a margin change. If a cell is being edited, then editing is stopped and the cell is redrawn. Application code will not use these methods explicitly, they are used internally by JTable.
| |
| doLoadAttributes | back to summary |
|---|---|
| private Runnable doLoadAttributes(final XMBean mbean, MBeanInfo infoOrNull) throws JMException, IOException | |
| editCellAt | back to summary |
|---|---|
| public final boolean editCellAt(final int row, final int column, EventObject e) Overrides javax. Doc from javax. Programmatically starts editing the cell at
| |
| emptyTable | back to summary |
|---|---|
| public synchronized void emptyTable() Overrides sun.
| |
| emptyTable | back to summary |
|---|---|
| private void emptyTable(DefaultTableModel model) | |
| getCellRenderer | back to summary |
|---|---|
| public synchronized TableCellRenderer getCellRenderer(int row, int column) Overrides sun. Doc from sun. This method sets read write rows to be blue, and other rows to be their default rendered colour.
| |
| getClassName | back to summary |
|---|---|
| public String getClassName(int row) Implements abstract sun. | |
| getRowCount | back to summary |
|---|---|
| public synchronized int getRowCount() Overrides javax. Override JTable method in order to make any call to this method atomic with TableModel elements.
| |
| getToolTip | back to summary |
|---|---|
| public String getToolTip(int row, int column) Overrides sun.
| |
| getValue | back to summary |
|---|---|
| public Object getValue(int row) Implements abstract sun. | |
| getValueName | back to summary |
|---|---|
| public String getValueName(int row) Implements abstract sun. | |
| getZoomedCell | back to summary |
|---|---|
| private XMBeanAttributes. | |
| isAttributeViewable | back to summary |
|---|---|
| public synchronized boolean isAttributeViewable(int row, int col) Implements abstract sun. | |
| isCellEditable | back to summary |
|---|---|
| public boolean isCellEditable(int row, int col) Overrides sun. Doc from javax. Returns true if the cell at Note The column is specified in the table view's display
order, and not in the
| |
| isCellError | back to summary |
|---|---|
| public synchronized boolean isCellError(int row, int col) Implements abstract sun. | |
| isColumnEditable | back to summary |
|---|---|
| public boolean isColumnEditable(int column) Implements abstract sun. | |
| isReadable | back to summary |
|---|---|
| public synchronized boolean isReadable(int row) Implements abstract sun. | |
| isTableEditable | back to summary |
|---|---|
| public boolean isTableEditable() Implements abstract sun. | |
| isViewable | back to summary |
|---|---|
| private boolean isViewable(Attribute attribute) | |
| isWritable | back to summary |
|---|---|
| public synchronized boolean isWritable(int row) Implements abstract sun. | |
| loadAttributes | back to summary |
|---|---|
| public void loadAttributes(final XMBean mbean, final MBeanInfo mbeanInfo) | |
| prepareRenderer | back to summary |
|---|---|
| public synchronized Component prepareRenderer(TableCellRenderer renderer, int row, int column) Overrides sun. Doc from javax. Prepares the renderer by querying the data model for the
value and selection state
of the cell at
During a printing operation, this method will configure the
renderer without indicating selection or focus, to prevent
them from appearing in the printed output. To do other
customizations based on whether or not the table is being
printed, you can check the value of
Note Throughout the table package, the internal implementations always use this method to prepare renderers so that this default behavior can be safely overridden by a subclass.
| |
| refreshAttributes | back to summary |
|---|---|
| public void refreshAttributes() | |
| refreshAttributes | back to summary |
|---|---|
| private void refreshAttributes(final boolean stopCellEditing) | |
| removeAttributes | back to summary |
|---|---|
| pack-priv synchronized void removeAttributes() | |
| setColumnEditors | back to summary |
|---|---|
| private void setColumnEditors() | |
| setTableValue | back to summary |
|---|---|
| public void setTableValue(Object value, int row) Implements abstract sun. | |
| setValueAt | back to summary |
|---|---|
| public void setValueAt(Object value, int row, int column) Overrides javax. Doc from javax. Sets the value for the cell in the table model at Note The column is specified in the table view's display
order, and not in the
| |
| sortRequested | back to summary |
|---|---|
| pack-priv void sortRequested(int column) Overrides sun. Doc from sun. Called by TableSorter if a mouse event requests to sort the rows.
| |
| stopCellEditing | back to summary |
|---|---|
| public void stopCellEditing() | |
| updateColumnWidth | back to summary |
|---|---|
| private void updateColumnWidth(int col1Width, int col2Width) | |
| updateRowHeight | back to summary |
|---|---|
| pack-priv void updateRowHeight(Object obj, int row) | |
| updateZoomedCell | back to summary |
|---|---|
| pack-priv XMBeanAttributes. | |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | |
| public void | tableChanged(final TableModelEvent e)
Implements javax. This fine grain notification tells listeners the exact range of cells, rows, or columns that changed. |
| component | back to summary |
|---|---|
| private Component component | |
| AttributesListener | back to summary |
|---|---|
| public AttributesListener(Component component) | |
| popupAndLog | back to summary |
|---|---|
| private void popupAndLog(Throwable ex, String method, String title) | |
| setAttribute | back to summary |
|---|---|
| private void setAttribute(final Attribute attribute, final String method) | |
| tableChanged | back to summary |
|---|---|
| public void tableChanged(final TableModelEvent e) Implements javax. Doc from javax. This fine grain notification tells listeners the exact range of cells, rows, or columns that changed. | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | mousePressed(MouseEvent e)
Overrides java. Implements java. Invoked when a mouse button has been pressed on a component. |
| AttributesMouseListener | back to summary |
|---|---|
| pack-priv AttributesMouseListener() | |
| mousePressed | back to summary |
|---|---|
| public void mousePressed(MouseEvent e) Overrides java. Implements java. Doc from java. Invoked when a mouse button has been pressed on a component.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv Component |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Component | |
| public Component | getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column)
Overrides javax. Implements javax. Returns the default table cell renderer. |
| comp | back to summary |
|---|---|
| pack-priv Component comp | |
| MaximizedCellRenderer | back to summary |
|---|---|
| pack-priv MaximizedCellRenderer(Component comp) | |
| getComponent | back to summary |
|---|---|
| public Component getComponent() | |
| getTableCellRendererComponent | back to summary |
|---|---|
| public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) Overrides javax. Implements javax. Doc from javax. Returns the default table cell renderer.
During a printing operation, this method will be called with
| |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public Component | getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column)
Overrides sun. Implements javax. Sets an initial |
| public boolean | stopCellEditing()
Overrides sun. Implements javax. Tells the editor to stop editing and accept any partially edited value as the value of the editor. |
| ValueCellEditor | back to summary |
|---|---|
| pack-priv ValueCellEditor() | |
| getTableCellEditorComponent | back to summary |
|---|---|
| public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected, int row, int column) Overrides sun. Implements javax. Doc from javax. Sets an initial
Returns the component that should be added to the client's
| |
| stopCellEditing | back to summary |
|---|---|
| public boolean stopCellEditing() Overrides sun. Implements javax. Doc from javax. Tells the editor to stop editing and accept any partially edited value as the value of the editor. The editor returns false if editing was not stopped; this is useful for editors that validate and can not accept invalid entries.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv boolean | |
| pack-priv XMBeanAttributes. | |
| pack-priv int | |
| pack-priv boolean | |
| pack-priv TableCellRenderer | |
| pack-priv int | |
| pack-priv Object |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv int | |
| pack-priv int | |
| pack-priv TableCellRenderer | |
| pack-priv TableCellRenderer | |
| pack-priv int | |
| pack-priv Object | |
| pack-priv void | |
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| public String |
| init | back to summary |
|---|---|
| pack-priv boolean init | |
| maxRenderer | back to summary |
|---|---|
| pack-priv XMBeanAttributes. | |
| minHeight | back to summary |
|---|---|
| pack-priv int minHeight | |
| minimized | back to summary |
|---|---|
| pack-priv boolean minimized | |
| minRenderer | back to summary |
|---|---|
| pack-priv TableCellRenderer minRenderer | |
| type | back to summary |
|---|---|
| pack-priv int type | |
| value | back to summary |
|---|---|
| pack-priv Object value | |
| ZoomedCell | back to summary |
|---|---|
| pack-priv ZoomedCell(Object value) | |
| getHeight | back to summary |
|---|---|
| pack-priv int getHeight() | |
| getMinHeight | back to summary |
|---|---|
| pack-priv int getMinHeight() | |
| getMinRenderer | back to summary |
|---|---|
| pack-priv TableCellRenderer getMinRenderer() | |
| getRenderer | back to summary |
|---|---|
| pack-priv TableCellRenderer getRenderer() | |
| getType | back to summary |
|---|---|
| pack-priv int getType() | |
| getValue | back to summary |
|---|---|
| pack-priv Object getValue() | |
| init | back to summary |
|---|---|
| pack-priv void init(TableCellRenderer minRenderer, Component maxComponent, int minHeight) | |
| isInited | back to summary |
|---|---|
| pack-priv boolean isInited() | |
| isMaximized | back to summary |
|---|---|
| pack-priv boolean isMaximized() | |
| maximize | back to summary |
|---|---|
| pack-priv void maximize() | |
| minimize | back to summary |
|---|---|
| pack-priv void minimize() | |
| reset | back to summary |
|---|---|
| pack-priv void reset() | |
| setValue | back to summary |
|---|---|
| pack-priv void setValue(Object value) | |
| switchState | back to summary |
|---|---|
| pack-priv void switchState() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |