public class ScriptTextOutput extends BaseDocument<ScriptTextOutputLayout>
BaseDocument.OnClosed, BaseDocument.OnFocusGain, BaseDocument.OnFocusLost| Modifier and Type | Field and Description |
|---|---|
protected boolean |
captureSystemOut |
protected boolean |
clearOnRun |
protected Long |
documentId |
protected boolean |
restoreFocusOnFinish |
protected TextWriter |
textWriter |
protected boolean |
toFrontOnRun |
docListeners, eventQueue, focusGainMethods, focusLostMethods, onClosedMethods, psupport, saveTitleButton, uiFinalizers| Constructor and Description |
|---|
ScriptTextOutput(ScriptTextOutputFactory factory) |
ScriptTextOutput(ScriptTextOutputFactory factory,
ScriptTextOutputLayout layout) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
Long |
getDocumentId() |
ScriptTextOutputLayout |
getLayout()
Создание объекта для сохранения состояния документа
|
ScriptService |
getScriptService() |
ScriptOutputService |
getScriptServiceUI() |
JScrollPane |
getScrollPane() |
JTextPane |
getTextComponent() |
TextWriter |
getTextWriter() |
protected void |
initUI() |
boolean |
isCaptureSystemOut() |
boolean |
isClearOnRun() |
boolean |
isRestoreFocusOnFinish() |
boolean |
isToFrontOnRun() |
void |
limitAndScroll(int tailMaxSize) |
void |
notifyFocusGained(bibliothek.gui.dock.common.intern.CDockable dockable) |
void |
setCaptureSystemOut(boolean captureSystemOut) |
void |
setClearOnRun(boolean clearOnRun) |
void |
setDocumentId(Long documentId) |
void |
setRestoreFocusOnFinish(boolean restoreFocusOnFinish) |
void |
setToFrontOnRun(boolean toFrontOnRun) |
addDocumentEvent, addDocumentListener, addDocumentListener, addEvent, addPropertyChange, addPropertyChangeListener, addPropertyChangeListener, close, closed, closing, createDocumentErrorNotifier, createSaveButton, deinstallStatusbar, findOwnCControl, findOwnConsole, findOwnDockingService, findStatusBarService, fireDocumentEvent, fireDocumentEvents, fireEvents, firePropertyChange, focusGained, focusLost, getDocumentListeners, getPropertyChangeListeners, getPropertyChangeListeners, hasDocumentListener, hasListeners, installStatusbar, instances, listenDocumentErrorUI, onClosed, onClosed, removeAllDocumentListeners, removeDocumentListener, removePropertyChangeListener, removePropertyChangeListenergetFactory, isRemoveOnClose, setControlAccess, setRemoveOnCloseadd, add, addAction, addSeparator, asStation, createCommonDockable, getAction, getActionCount, getContentPane, getTitleIcon, getTitleIconHandling, getTitleText, getTitleToolTip, insertAction, insertSeparator, intern, isCloseable, isExternalizable, isMaximizable, isMinimizable, isStackable, remove, removeAction, removeAction, setCloseable, setExternalizable, setLayout, setMaximizable, setMinimizable, setStackable, setTitleIcon, setTitleIconHandling, setTitleText, setTitleToolTipaddCDockableLocationListener, addCDockablePropertyListener, addCDockableStateListener, addDoubleClickListener, addFocusListener, addKeyboardListener, addVetoClosingListener, control, getAction, getAndClearResizeRequest, getAutoBaseLocation, getBaseLocation, getClose, getColors, getControl, getControlAccess, getDefaultLocation, getDockableUniqueId, getExtendedMode, getFocusComponent, getFonts, getGrouping, getMinimizedSize, getParentStation, getWorkingArea, hasParent, init, isDockableVisible, isEnabled, isNormalizeable, isResizeLocked, isResizeLockedHorizontally, isResizeLockedVertically, isShowing, isSingleTabShown, isSticky, isStickySwitchable, isTitleShown, isVisible, propertyListeners, putAction, removeCDockableLocationListener, removeCDockablePropertyListener, removeCDockableStateListener, removeDoubleClickListener, removeFocusListener, removeKeyboardListener, removeVetoClosingListener, setDefaultLocation, setEnabled, setExtendedMode, setFocusComponent, setGrouping, setLocation, setLocationsAside, setLocationsAside, setLocationsAsideFocused, setMinimizedSize, setResizeLocked, setResizeLockedHorizontally, setResizeLockedVertically, setResizeRequest, setResizeRequest, setSingleTabShown, setSticky, setStickySwitchable, setTitleShown, setVisible, setWorkingArea, stateListeners, toFront, toFront, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddCDockableLocationListener, addCDockablePropertyListener, addCDockableStateListener, addDoubleClickListener, addFocusListener, addKeyboardListener, addVetoClosingListener, asStation, getAction, getAndClearResizeRequest, getAutoBaseLocation, getBaseLocation, getColors, getControl, getControlAccess, getExtendedMode, getFocusComponent, getFonts, getGrouping, getMinimizedSize, getParentStation, getWorkingArea, hasParent, intern, isCloseable, isDockableVisible, isEnabled, isExternalizable, isMaximizable, isMinimizable, isNormalizeable, isResizeLockedHorizontally, isResizeLockedVertically, isShowing, isSingleTabShown, isStackable, isSticky, isStickySwitchable, isTitleShown, isVisible, removeCDockableLocationListener, removeCDockablePropertyListener, removeCDockableStateListener, removeDoubleClickListener, removeFocusListener, removeKeyboardListener, removeVetoClosingListener, setExtendedMode, setLocation, setLocationsAside, setLocationsAside, setLocationsAsideFocused, setMinimizedSize, setSticky, setStickySwitchable, setVisible, setWorkingAreaprotected volatile TextWriter textWriter
protected Long documentId
protected boolean clearOnRun
protected boolean toFrontOnRun
protected boolean restoreFocusOnFinish
protected boolean captureSystemOut
public ScriptTextOutput(ScriptTextOutputFactory factory)
public ScriptTextOutput(ScriptTextOutputFactory factory, ScriptTextOutputLayout layout)
protected void initUI()
public ScriptService getScriptService()
public ScriptOutputService getScriptServiceUI()
public void notifyFocusGained(bibliothek.gui.dock.common.intern.CDockable dockable)
public JScrollPane getScrollPane()
public JTextPane getTextComponent()
public ScriptTextOutputLayout getLayout()
BaseDocumentgetLayout in class BaseDocument<ScriptTextOutputLayout>public TextWriter getTextWriter()
public void clear()
public void limitAndScroll(int tailMaxSize)
public Long getDocumentId()
public void setDocumentId(Long documentId)
public boolean isClearOnRun()
public void setClearOnRun(boolean clearOnRun)
public boolean isToFrontOnRun()
public void setToFrontOnRun(boolean toFrontOnRun)
public boolean isRestoreFocusOnFinish()
public void setRestoreFocusOnFinish(boolean restoreFocusOnFinish)
public boolean isCaptureSystemOut()
public void setCaptureSystemOut(boolean captureSystemOut)
Copyright © 2018. All rights reserved.