|
Version: 1.1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component java.awt.Container javax.swing.JComponent javax.swing.JPanel org.biomoby.service.dashboard.CommonConsole
public class CommonConsole
A simple console component. It allows:
SimpleClientPanel
how to make it editable easily}
Nested Class Summary |
---|
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.BaselineResizeBehavior |
Field Summary | |
---|---|
static String |
VERBOSE_EVENT
A default name of property change event that is considered to carry verbose messages. |
Fields inherited from class javax.swing.JComponent |
---|
TOOL_TIP_TEXT_KEY, 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 | |
---|---|
CommonConsole()
Constructor. |
Method Summary | |
---|---|
void |
clean()
Clean the console (disregading of any current modes). |
JTextArea |
getArea()
Direct access to the text area. |
boolean |
hasAppendModeSwitcher()
|
boolean |
hasCleanButton()
|
boolean |
hasSaveButton()
|
boolean |
hasVerboseModeSwitcher()
|
boolean |
isAppendMode()
|
boolean |
isVerboseMode()
|
void |
propertyChange(PropertyChangeEvent event)
Here this instance is notified when somebody fires a verbose message. |
boolean |
setAppendMode(boolean enabled)
|
void |
setEnabledAppendMode(boolean enabled)
This allows to disable and enable append-mode check box - so user cannot change the append more. |
void |
setPropertyChannel(PropertyChannel propertyChannel)
Remember the property channel. |
void |
setText(String value)
|
void |
setVerboseEventName(String eventName)
Remember what event name will be considered by this instance for its verbose messages. |
boolean |
setVerboseMode(boolean enabled)
|
Methods inherited from class javax.swing.JPanel |
---|
getAccessibleContext, getUI, getUIClassID, setUI, updateUI |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String VERBOSE_EVENT
setVerboseEventName(java.lang.String)
.
Constructor Detail |
---|
public CommonConsole()
Method Detail |
---|
public JTextArea getArea()
public void setText(String value)
public void clean()
public boolean setAppendMode(boolean enabled)
public boolean isAppendMode()
public void setEnabledAppendMode(boolean enabled)
public boolean setVerboseMode(boolean enabled)
public boolean isVerboseMode()
public void setPropertyChannel(PropertyChannel propertyChannel)
public void setVerboseEventName(String eventName)
public void propertyChange(PropertyChangeEvent event)
setVerboseEventName(java.lang.String)
(default is defined by VERBOSE_EVENT
).
propertyChange
in interface PropertyChangeListener
public boolean hasCleanButton()
public boolean hasSaveButton()
public boolean hasAppendModeSwitcher()
public boolean hasVerboseModeSwitcher()
|
Version: 1.1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |