|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JScrollPane
net.java.sip.communicator.plugin.notificationconfiguration.NotificationsTable
public class NotificationsTable
| Nested Class Summary | |
|---|---|
(package private) static class |
NotificationsTable.NotificationTable
Extends the JTable to make easier to use with this plug-in. |
| Nested classes/interfaces inherited from class javax.swing.JScrollPane |
|---|
JScrollPane.AccessibleJScrollPane, JScrollPane.ScrollBar |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary | |
|---|---|
static String |
DISABLED
The disabled state of the notification action. |
static String |
ENABLED
The enabled state of the notification action. |
| Fields inherited from class javax.swing.JScrollPane |
|---|
columnHeader, horizontalScrollBar, horizontalScrollBarPolicy, lowerLeft, lowerRight, rowHeader, upperLeft, upperRight, verticalScrollBar, verticalScrollBarPolicy, viewport |
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
NotificationsTable(Object[] columns,
String[] columnToolTips,
NotificationConfigurationPanel panel)
Creates an instance of the NotificationsTable. |
|
| Method Summary | |
|---|---|
void |
actionAdded(NotificationActionTypeEvent event)
Action Listener Service Notifications |
void |
actionChanged(NotificationActionTypeEvent event)
Action Listener Service Notifications |
void |
actionRemoved(NotificationActionTypeEvent event)
Action Listener Service Notifications |
void |
addMouseListener(MouseListener l)
Adding a mouse listener on the table. |
void |
clear()
Clears the content of the notifications table. |
void |
eventTypeAdded(NotificationEventTypeEvent event)
Adds the event to the notifications table. |
void |
eventTypeRemoved(NotificationEventTypeEvent event)
Removes the event from the notifications table. |
static Icon |
getColumnIconValue(int column)
Returns the icon value of the given column if the the column supports an icon value, otherwise returns null. |
NotificationEntry |
getNotificationEntry(int row)
Returns the notification entry at the given row. |
int |
getRowCount()
Returns the number of lines of the table. |
int |
getSelectedRow()
Returns the currently selected row. |
int |
rowAtPoint(Point point)
Returns the row number corresponding to the given point. |
void |
setSelectedRow(int row)
Selects the given row. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String ENABLED
public static final String DISABLED
| Constructor Detail |
|---|
NotificationsTable(Object[] columns,
String[] columnToolTips,
NotificationConfigurationPanel panel)
columns - an array containing all columnscolumnToolTips - an array containing all column tooltipspanel - the parent configuration panel| Method Detail |
|---|
public int getSelectedRow()
public int getRowCount()
public void setSelectedRow(int row)
row - the row to selectpublic NotificationEntry getNotificationEntry(int row)
row - the row number, which notification entry we're looking for
public void addMouseListener(MouseListener l)
addMouseListener in class Componentl - the MouseListener to addpublic int rowAtPoint(Point point)
point - the point under which is the row we're looking for
public static Icon getColumnIconValue(int column)
column - the number of the column
public void actionAdded(NotificationActionTypeEvent event)
actionAdded in interface NotificationChangeListenerevent - the NotificationActionTypeEvent that notified uspublic void actionRemoved(NotificationActionTypeEvent event)
actionRemoved in interface NotificationChangeListenerevent - the NotificationActionTypeEvent that notified uspublic void actionChanged(NotificationActionTypeEvent event)
actionChanged in interface NotificationChangeListenerevent - the NotificationActionTypeEvent that notified uspublic void eventTypeAdded(NotificationEventTypeEvent event)
eventTypeAdded in interface NotificationChangeListenerevent - the event to addpublic void eventTypeRemoved(NotificationEventTypeEvent event)
eventTypeRemoved in interface NotificationChangeListenerevent - the event to removepublic void clear()
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||