|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Window
java.awt.Frame
javax.swing.JFrame
org.ceryle.wiki.event.WikiEventMonitor
org.ceryle.wiki.event.AssertionEventMonitor
public class AssertionEventMonitor
Extends WikiEventMonitor to add monitor support for AssertionEvents within the WikiEventManager (a singleton class).
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.ceryle.wiki.event.WikiEventMonitor |
|---|
WikiEventMonitor.DialogDisposer |
| Nested classes/interfaces inherited from class javax.swing.JFrame |
|---|
JFrame.AccessibleJFrame |
| Nested classes/interfaces inherited from class java.awt.Frame |
|---|
Frame.AccessibleAWTFrame |
| Nested classes/interfaces inherited from class java.awt.Window |
|---|
Window.AccessibleAWTWindow |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary | |
|---|---|
static Color |
COLOR_OBJECT
The Color used for highlighting assertion objects. |
static Color |
COLOR_PAGENAME
The Color used for highlighting assertion page names. |
static Color |
COLOR_PREDICATE
The Color used for highlighting assertion predicates. |
static Color |
COLOR_SUBJECT
The Color used for highlighting assertion subjects. |
| Fields inherited from class org.ceryle.wiki.event.WikiEventMonitor |
|---|
COLOR_BASE, COLOR_BUTTONS, COLOR_TEXT_BG, COLOR_TEXT_FG, COLOR_TEXT_SBG, FONT_LABEL, FONT_MSG, FTS_FORMAT, m_errorStyle, m_framesize, m_noiseStyle, m_normalStyle, maxOutputChars |
| Fields inherited from class javax.swing.JFrame |
|---|
accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled |
| Fields inherited from class java.awt.Frame |
|---|
CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MAXIMIZED_BOTH, MAXIMIZED_HORIZ, MAXIMIZED_VERT, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface javax.swing.WindowConstants |
|---|
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
AssertionEventMonitor(String title)
Creates an event monitor dialog with optional title. |
|
| Method Summary | |
|---|---|
protected void |
addStylesToDocument(StyledDocument doc)
Add some Swing Styles to the text area to permit colorized text. |
void |
enableQueries(boolean b)
Enable/disable assertion query features. |
void |
eventFired(WikiEvent event)
Note that an event has been fired. |
protected JPanel |
getMiscSettingsPanel()
Return the miscellaneous Settings panel. |
protected JPanel |
getOptionalSettingsPanel()
Return any supplemental Settings panel, null if none. |
protected void |
initialize()
Initialize the monitor's UI. |
void |
setVisible(boolean visible)
|
void |
writeBlankLine()
A convenience method that appends a newline character to the output. |
void |
writeLine(String message)
Append the message to the output area in a normal style. |
| Methods inherited from class org.ceryle.wiki.event.WikiEventMonitor |
|---|
appendBaseOutput, appendOutput, borderize, clearMessages, createCenterPanel, createCheckBox, createDialogButton, createLabel, createSouthPanel, createXBoxPanel, createYBoxPanel, getFriendlyTimeStamp, getSettingsPanel, getWikiEventFiltersPanel, setActive, writeError, writeMessage |
| Methods inherited from class java.awt.Frame |
|---|
addNotify, finalize, getCursorType, getExtendedState, getFrames, getIconImage, getMaximizedBounds, getMenuBar, getState, getTitle, isResizable, isUndecorated, remove, removeNotify, setCursor, setExtendedState, setMaximizedBounds, setMenuBar, setResizable, setState, setTitle, setUndecorated |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.awt.MenuContainer |
|---|
getFont, postEvent |
| Field Detail |
|---|
public static Color COLOR_PAGENAME
public static Color COLOR_SUBJECT
public static Color COLOR_PREDICATE
public static Color COLOR_OBJECT
| Constructor Detail |
|---|
public AssertionEventMonitor(String title)
| Method Detail |
|---|
protected void initialize()
initialize in class WikiEventMonitorpublic void eventFired(WikiEvent event)
eventFired in class WikiEventMonitorevent - the event firedpublic void writeBlankLine()
public void writeLine(String message)
message - the message to writeprotected JPanel getMiscSettingsPanel()
getMiscSettingsPanel in class WikiEventMonitorpublic void setVisible(boolean visible)
setVisible in class Componentprotected JPanel getOptionalSettingsPanel()
getOptionalSettingsPanel in class WikiEventMonitorpublic void enableQueries(boolean b)
protected void addStylesToDocument(StyledDocument doc)
This overrides the superclass to add assertion styles.
addStylesToDocument in class WikiEventMonitor
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||