public class SwingConsolePane extends AbstractConsolePane<JPanel>
ConsolePane.
 
 This implementation consists of a console tab and a log
 tab, provided by a ConsolePanel and LoggingPanel
 respectively.
 
NO_CONSOLE_PROPERTY| Constructor and Description | 
|---|
SwingConsolePane(Context context)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
append(OutputEvent event)
Appends the given output to the console. 
 | 
void | 
clear()  | 
JPanel | 
getComponent()
Gets the user interface component housing this object. 
 | 
Class<JPanel> | 
getComponentType()
Gets the type of the UI component housing the object. 
 | 
void | 
setWindow(Component window)
Sets the window which should be shown when  
show() is called. | 
void | 
show()
Makes the console visible. 
 | 
outputOccurredpublic SwingConsolePane(Context context)
public void setWindow(Component window)
show() is called.public void clear()
public void append(OutputEvent event)
ConsolePanepublic void show()
ConsolePanepublic JPanel getComponent()
UIComponentpublic Class<JPanel> getComponentType()
UIComponent
 This method is useful in case UIComponent.getComponent() returns null in some
 circumstances. In this way, it is still possible to query the type of the
 UI component without forcing the conditions that instantiate it.
 
Copyright © 2015–2022 SciJava. All rights reserved.