Modifier and Type | Class and Description |
---|---|
pack-priv class | |
pack-priv static class | |
pack-priv class | |
pack-priv static class | |
pack-priv class |
Modifier and Type | Field and Description |
---|---|
private Font | |
private static final String[] | |
private XMBeanNotifications. | |
private static TableCellEditor | |
private volatile boolean | |
private HashMap | |
private XMBeanNotifications. | |
private Font | |
public static final String | |
private List | |
private int | |
private volatile boolean | |
private SimpleDateFormat | |
private TableCellEditor |
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public void | |
public void | |
public synchronized boolean | |
public synchronized void | |
pack-priv synchronized void | |
public synchronized void | |
pack-priv void | fireNotificationReceived(XMBeanNotifications.
|
public synchronized TableCellRenderer | getCellRenderer(int
the row of the cell to render, where 0 is the first row row, int the column of the cell to render,
where 0 is the first column column)Overrides javax. |
public long | |
private XMBeanNotifications. | |
public synchronized void | handleNotification(Notification
The notification. notif, Object An opaque object which helps the listener to associate
information regarding the MBean emitter. This object is passed to the
addNotificationListener call and resent, without modification, to the
listener. handback)Implements javax. |
public boolean | isCellEditable(int
the row whose value is to be queried row, int the column whose value is to be queried col)Overrides javax. row and column
is editable.
|
public synchronized boolean | |
public boolean | |
public synchronized void | |
public synchronized Component | prepareRenderer(TableCellRenderer
the renderer, int TableCellRenderer to preparethe row of the cell to render, where 0 is the first row row, int the column of the cell to render,
where 0 is the first column column)Overrides javax. row , column .
|
public synchronized void | |
public void | |
private void | |
public void | setValueAt(Object
the new value value, int the row of the cell to be changed row, int the column of the cell to be changed column)Overrides javax. row
and column .
|
public void | |
private synchronized boolean | |
public synchronized boolean | |
private void | |
pack-priv synchronized void |
boldFont | back to summary |
---|---|
private Font boldFont |
columnNames | back to summary |
---|---|
private static final String[] columnNames |
currentListener | back to summary |
---|---|
private XMBeanNotifications. |
editor | back to summary |
---|---|
private static TableCellEditor editor |
enabled | back to summary |
---|---|
private volatile boolean enabled Hides java. |
listeners | back to summary |
---|---|
private HashMap<ObjectName, XMBeanNotifications. |
mouseListener | back to summary |
---|---|
private XMBeanNotifications. |
normalFont | back to summary |
---|---|
private Font normalFont |
NOTIFICATION_RECEIVED_EVENT | back to summary |
---|---|
public static final String NOTIFICATION_RECEIVED_EVENT |
notificationListenersList | back to summary |
---|---|
private List<NotificationListener> notificationListenersList |
rowMinHeight | back to summary |
---|---|
private int rowMinHeight |
subscribed | back to summary |
---|---|
private volatile boolean subscribed |
timeFormater | back to summary |
---|---|
private SimpleDateFormat timeFormater |
userDataEditor | back to summary |
---|---|
private TableCellEditor userDataEditor |
XMBeanNotifications | back to summary |
---|---|
public XMBeanNotifications() |
addNotificationsListener | back to summary |
---|---|
public void addNotificationsListener(NotificationListener nl) |
cancelCellEditing | back to summary |
---|---|
public void cancelCellEditing() |
clearCurrentNotifications | back to summary |
---|---|
public synchronized boolean clearCurrentNotifications() |
disableNotifications | back to summary |
---|---|
public synchronized void disableNotifications() |
dispose | back to summary |
---|---|
pack-priv synchronized void dispose() |
emptyTable | back to summary |
---|---|
public synchronized void emptyTable() |
fireNotificationReceived | back to summary |
---|---|
pack-priv void fireNotificationReceived(XMBeanNotifications. |
getCellRenderer | back to summary |
---|---|
public synchronized TableCellRenderer getCellRenderer(int row, int column) Overrides javax. Doc from javax. Returns an appropriate renderer for the cell specified by this row and
column. If the Note Throughout the table package, the internal implementations always use this method to provide renderers so that this default behavior can be safely overridden by a subclass.
|
getReceivedNotifications | back to summary |
---|---|
public long getReceivedNotifications(XMBean mbean) |
getUserDataCell | back to summary |
---|---|
private XMBeanNotifications. |
handleNotification | back to summary |
---|---|
public synchronized void handleNotification(Notification notif, Object handback) Implements javax. Doc from javax. Invoked when a JMX notification occurs. The implementation of this method should return as soon as possible, to avoid blocking its notification broadcaster.
|
isCellEditable | back to summary |
---|---|
public boolean isCellEditable(int row, int col) Overrides javax. 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
|
isListenerRegistered | back to summary |
---|---|
public synchronized boolean isListenerRegistered(XMBean mbean) |
isTableEditable | back to summary |
---|---|
public boolean isTableEditable() |
loadNotifications | back to summary |
---|---|
public synchronized void loadNotifications(XMBean mbean) |
prepareRenderer | back to summary |
---|---|
public synchronized Component prepareRenderer(TableCellRenderer renderer, int row, int column) Overrides javax. 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.
|
registerListener | back to summary |
---|---|
public synchronized void registerListener(DefaultMutableTreeNode node) throws InstanceNotFoundException, IOException |
removeNotificationsListener | back to summary |
---|---|
public void removeNotificationsListener(NotificationListener nl) |
setColumnEditors | back to summary |
---|---|
private void setColumnEditors() |
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 |
stopCellEditing | back to summary |
---|---|
public void stopCellEditing() |
unregister | back to summary |
---|---|
private synchronized boolean unregister(ObjectName mbean) |
unregisterListener | back to summary |
---|---|
public synchronized boolean unregisterListener(DefaultMutableTreeNode node) |
updateModel | back to summary |
---|---|
private void updateModel(List<Object[]> data) |
updateUserDataCell | back to summary |
---|---|
pack-priv synchronized void updateUserDataCell(int row, int col) |
Access | Constructor and Description |
---|---|
pack-priv |
Modifier and Type | Method and Description |
---|---|
public void | mousePressed(MouseEvent
the event to be processed e)Overrides java. Implements java. |
NotifMouseListener | back to summary |
---|---|
pack-priv NotifMouseListener() |
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 boolean | |
pack-priv XMBeanNotifications. | |
pack-priv int | |
pack-priv boolean | |
pack-priv TableCellRenderer | |
pack-priv Object |
Access | Constructor and Description |
---|---|
pack-priv |
Modifier and Type | Method and Description |
---|---|
pack-priv int | |
pack-priv TableCellRenderer | |
pack-priv void | |
pack-priv boolean | |
pack-priv boolean | |
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 XMBeanNotifications. |
minHeight | back to summary |
---|---|
pack-priv int minHeight |
minimized | back to summary |
---|---|
pack-priv boolean minimized |
minRenderer | back to summary |
---|---|
pack-priv TableCellRenderer minRenderer |
userData | back to summary |
---|---|
pack-priv Object userData |
UserDataCell | back to summary |
---|---|
pack-priv UserDataCell(Object userData, Component max) |
getHeight | back to summary |
---|---|
pack-priv int getHeight() |
getRenderer | back to summary |
---|---|
pack-priv TableCellRenderer getRenderer() |
init | back to summary |
---|---|
pack-priv void init(TableCellRenderer minRenderer, 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() |
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. |
Access | Constructor and Description |
---|---|
pack-priv |
Modifier and Type | Method and Description |
---|---|
public Component | getTableCellEditorComponent(JTable
the table, Object JTable that is asking the
editor to edit; can be null the value of the cell to be edited; it is
up to the specific editor to interpret
and draw the value. For example, if value is
the string "true", it could be rendered as a
string or it could be rendered as a check
box that is checked. value, boolean null
is a valid valuetrue if the cell is to be rendered with
highlighting isSelected, int the row of the cell being edited row, int the column of the cell being edited column)Overrides sun. Implements javax. value for the editor.
|
public boolean | stopCellEditing()
Overrides sun. Implements javax. |
UserDataCellEditor | back to summary |
---|---|
pack-priv UserDataCellEditor() |
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 Component |
Access | Constructor and Description |
---|---|
pack-priv |
Modifier and Type | Method and Description |
---|---|
public Component | |
public Component | getTableCellRendererComponent(JTable
the table, Object JTable the value to assign to the cell at
value, boolean [row, column] true if cell is selected isSelected, boolean true if cell has focus hasFocus, int the row of the cell to render row, int the column of the cell to render column)Overrides javax. Implements javax. |
comp | back to summary |
---|---|
pack-priv Component comp |
UserDataCellRenderer | back to summary |
---|---|
pack-priv UserDataCellRenderer(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
|
Modifier and Type | Field and Description |
---|---|
private ArrayList | |
private DefaultMutableTreeNode | |
private XMBeanNotifications | |
private volatile long | |
private volatile boolean | |
private XMBean |
Access | Constructor and Description |
---|---|
public | XMBeanNotificationsListener(XMBeanNotifications notifications, XMBean xmbean, DefaultMutableTreeNode node, String[] columnNames)
|
Modifier and Type | Method and Description |
---|---|
public synchronized void | |
public synchronized List | |
public synchronized long | |
public synchronized void | handleNotification(final Notification
The notification. n, Object An opaque object which helps the listener to associate
information regarding the MBean emitter. This object is passed to the
addNotificationListener call and resent, without modification, to the
listener. hb)Implements javax. |
public synchronized boolean | |
public synchronized void | |
public synchronized void |
data | back to summary |
---|---|
private ArrayList<Object[]> data |
node | back to summary |
---|---|
private DefaultMutableTreeNode node |
notifications | back to summary |
---|---|
private XMBeanNotifications notifications |
received | back to summary |
---|---|
private volatile long received |
unregistered | back to summary |
---|---|
private volatile boolean unregistered |
xmbean | back to summary |
---|---|
private XMBean xmbean |
XMBeanNotificationsListener | back to summary |
---|---|
public XMBeanNotificationsListener(XMBeanNotifications notifications, XMBean xmbean, DefaultMutableTreeNode node, String[] columnNames) |
clear | back to summary |
---|---|
public synchronized void clear() |
getData | back to summary |
---|---|
public synchronized List |
getReceivedNotifications | back to summary |
---|---|
public synchronized long getReceivedNotifications() |
handleNotification | back to summary |
---|---|
public synchronized void handleNotification(final Notification n, Object hb) Implements javax. Doc from javax. Invoked when a JMX notification occurs. The implementation of this method should return as soon as possible, to avoid blocking its notification broadcaster.
|
isRegistered | back to summary |
---|---|
public synchronized boolean isRegistered() |
register | back to summary |
---|---|
public synchronized void register(DefaultMutableTreeNode node) |
unregister | back to summary |
---|---|
public synchronized void unregister() |