- All Implemented Interfaces:
Dockable
,DockableComponent
,DockComponent
,ContentPaneContainer
,Disposable
,ImageObserver
,MenuContainer
,Serializable
,Accessible
,InputHandlerProvider
A
View
is jEdit's top-level frame window.
In a BeanShell script, you can obtain the current view instance from the
view
variable.
The largest component it contains is an EditPane
that in turn
contains a JEditTextArea
that displays a
Buffer
.
A view can have more than one edit pane in a split window configuration.
A view also contains a menu bar, an optional toolbar and other window
decorations, as well as docked windows.
The View class performs two important operations dealing with plugins: creating plugin menu items, and managing dockable windows.
- When a view is being created, its initialization routine
iterates through the collection of loaded plugins and constructs the
Plugins menu using the properties as specified in the
EditPlugin
class. - The view also creates and initializes a
DockableWindowManager
object. This object is responsible for creating, closing and managing dockable windows.
jEdit
class.- Version:
- $Id: View.java 25349 2020-06-10 12:07:06Z makarius $
- Author:
- Slava Pestov, John Gellene (API documentation)
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class javax.swing.JRootPane
JRootPane.AccessibleJRootPane, JRootPane.RootLayout
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
Modifier and TypeFieldDescriptionstatic final int
Above system tool bar layer.static final int
static final int
Action bar layer.static final int
Below search bar layer.static final int
Status bar layer.static final int
Below system tool bar layer.static final int
The group of tool bars below the DockableWindowManagerstatic final int
The lowest possible layer.static final int
static final int
The default layer for tool bars with no preference.static final String
static final EditPane[]
static final int
Search bar layer.static final int
Status bar layer.static final int
System tool bar layer.static final int
static final int
The group of tool bars above the DockableWindowManagerstatic final int
The highest possible layer.static final int
static final String
Fields inherited from class de.grogra.ext.jedit.ViewBase
DO_NOTHING_ON_CLOSE
Fields inherited from class de.grogra.pf.ui.swing.SwingPanel
tag
Fields inherited from class de.grogra.docking.DockableRootPane
manager
Fields inherited from class javax.swing.JRootPane
COLOR_CHOOSER_DIALOG, contentPane, defaultButton, ERROR_DIALOG, FILE_CHOOSER_DIALOG, FRAME, glassPane, INFORMATION_DIALOG, layeredPane, NONE, PLAIN_DIALOG, QUESTION_DIALOG, WARNING_DIALOG
Fields inherited from class javax.swing.JComponent
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
accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
Fields inherited from interface de.grogra.docking.Dockable
ICON, PANEL_TITLE, TAB_TITLE, TOOL_TIP
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Shows the action bar if needed, and sends keyboard focus there.void
addToolBar
(int group, int layer, Component toolBar) Adds a tool bar to this view.void
addToolBar
(int group, Component toolBar) Adds a tool bar to this view.void
addToolBar
(Component toolBar) Adds a tool bar to this view.void
adjust
(View parent, View.ViewConfig config) void
closes any popup menus that may have been openedvoid
forEachEditPane
(Consumer<? super EditPane> action) Perform the given action on every EditPanefinal ActionBar
Returns the action bar.Returns the current edit pane's buffer.Buffer[]
Returns all Buffers opened in this View, Sorted according to View options.Returns the dockable window manager associated with this view.static String
static DockingFrameworkProvider
Returns the current edit pane.EditPane[]
Returns all edit panes.Returns the input handler.Returns the listener that will handle all key events in this view, if any.Returns the macro recorder.getNext()
Returns the next view in the list.getPrev()
Returns the previous view in the list.final SearchBar
Returns the search bar.Split configurations are recorded in a simple RPN "language".Returns the top-level split pane, if any.Returns the status bar.Returns the current edit pane's text area.Returns the view's tool bar.goToBuffer
(Buffer buffer) If this buffer is open in one of the view's edit panes, sets focus to that edit pane.void
void
void
void
void
void
Hides the wait cursor.boolean
isClosed()
Returns true if this view has been closed withjEdit.closeView(View)
.boolean
boolean
Returns true if this is an auxilliary view with no dockable windows.void
Moves keyboard focus to the next text area.void
Moves keyboard focus to the previous text area.void
processKeyEvent
(KeyEvent evt) Forwards key events directly to the input handler.void
processKeyEvent
(KeyEvent evt, boolean calledFromTextArea) Forwards key events directly to the input handler.void
processKeyEvent
(KeyEvent evt, int from) Forwards key events directly to the input handler.void
Reloads various settings from the properties.void
quickHyperSearch
(boolean word) Quick HyperSearch.void
quickIncrementalSearch
(boolean word) Quick search.void
removeToolBar
(Component toolBar) Removes a tool bar from this view.void
resplit()
Restore the split configuration as it was before unsplitting.void
void
Sets the current edit pane's buffer.void
setInputHandler
(InputHandler inputHandler) Sets the input handler.void
setKeyEventInterceptor
(KeyListener listener) Sets the listener that will handle all key events in this view.void
setMacroRecorder
(Macros.Recorder recorder) Sets the macro recorder.void
Set the next view in linked list.void
setPrefixFocusOwner
(Component prefixFocusOwner) void
Set the previous view in linked list.void
setSplitConfig
(Buffer buffer, String splitConfig) sets the split configuration as per the splitConfig.void
setUserTitle
(String title) Sets a user-defined title for this view instead of the "view.title" property.void
setWaitSocket
(Socket waitSocket) This socket is closed when the buffer is closed.showBuffer
(Buffer buffer) If this buffer is open in one of the view's edit panes, activates that edit pane.void
Shows a dialog for selecting a user-defined title for this view.void
Shows the wait cursor.split
(int orientation) Splits the view.Splits the view horizontally.Splits the view vertically.void
toString()
void
unsplit()
Unsplits the view.void
Removes the current split.void
Enables or Disables the "Focus Buffer Switcher" menu item in the View menu depending on the visible state of the buffer switcher.void
void
Updates the title bar.void
visit
(JEditVisitor visitor) Visit the the editpanes and textareas of the viewMethods inherited from class de.grogra.ext.jedit.ViewBase
addWindowListener, getFocusOwner, getFrame, getState, getTitle, initialize, isAlwaysOnTop, isFocused, loadPlatformIcon, pack, setAlwaysOnTop, setDefaultCloseOperation, setIconImage, setState, setTitle, toFront
Methods inherited from class de.grogra.pf.ui.swing.SwingPanel
checkClose, dispose, dockableClosed, getSupport, isClosable, setIconSource, setMenu
Methods inherited from class de.grogra.docking.DockableRootPane
getComponent, getDockable, getDockParent, getIcon, getPanelTitle, getTabTitle, isSelectable, needsWrapper, setIcon, setManager, setPanelTitle, setSelected, setTabTitle, setTitles, setWrapper
Methods inherited from class javax.swing.JRootPane
addImpl, addNotify, createContentPane, createGlassPane, createLayeredPane, createRootLayout, getAccessibleContext, getContentPane, getDefaultButton, getGlassPane, getJMenuBar, getLayeredPane, getMenuBar, getUI, getUIClassID, getWindowDecorationStyle, isOptimizedDrawingEnabled, isValidateRoot, paramString, removeNotify, setContentPane, setDefaultButton, setDoubleBuffered, setGlassPane, setJMenuBar, setLayeredPane, setMenuBar, setUI, setWindowDecorationStyle, updateUI
Methods inherited from class javax.swing.JComponent
addAncestorListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTree
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setMixingCutoutShape, setName, setSize, setSize, show, show, size, transferFocus, transferFocusBackward, transferFocusUpCycle
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface de.grogra.pf.ui.awt.ContentPaneContainer
getContentPane
Methods inherited from interface de.grogra.docking.Dockable
addPropertyChangeListener, getComponent, getIcon, getPanelTitle, getTabTitle, getToolTipText, isSelectable, needsWrapper, removePropertyChangeListener, setManager, setSelected, setWrapper
Methods inherited from interface de.grogra.docking.DockableComponent
getDockable
Methods inherited from interface de.grogra.docking.DockComponent
getDockParent, getHeight, getParent, getWidth
-
Field Details
-
EMPTY_EDIT_PANES_ARRAY
-
VIEW_DOCKING_FRAMEWORK_PROPERTY
- See Also:
-
DOCKING_FRAMEWORK_PROVIDER_SERVICE
- See Also:
-
TOP_GROUP
public static final int TOP_GROUPThe group of tool bars above the DockableWindowManager- Since:
- jEdit 4.0pre7
- See Also:
-
BOTTOM_GROUP
public static final int BOTTOM_GROUPThe group of tool bars below the DockableWindowManager- Since:
- jEdit 4.0pre7
- See Also:
-
DEFAULT_GROUP
public static final int DEFAULT_GROUP- See Also:
-
TOP_LAYER
public static final int TOP_LAYERThe highest possible layer.- Since:
- jEdit 4.0pre7
- See Also:
-
DEFAULT_LAYER
public static final int DEFAULT_LAYERThe default layer for tool bars with no preference.- Since:
- jEdit 4.0pre7
- See Also:
-
BOTTOM_LAYER
public static final int BOTTOM_LAYERThe lowest possible layer.- Since:
- jEdit 4.0pre7
- See Also:
-
ABOVE_SYSTEM_BAR_LAYER
public static final int ABOVE_SYSTEM_BAR_LAYERAbove system tool bar layer.- Since:
- jEdit 4.0pre7
- See Also:
-
SYSTEM_BAR_LAYER
public static final int SYSTEM_BAR_LAYERSystem tool bar layer. jEdit uses this for the main tool bar.- Since:
- jEdit 4.0pre7
- See Also:
-
BELOW_SYSTEM_BAR_LAYER
public static final int BELOW_SYSTEM_BAR_LAYERBelow system tool bar layer.- Since:
- jEdit 4.0pre7
- See Also:
-
SEARCH_BAR_LAYER
public static final int SEARCH_BAR_LAYERSearch bar layer.- Since:
- jEdit 4.0pre7
- See Also:
-
BELOW_SEARCH_BAR_LAYER
public static final int BELOW_SEARCH_BAR_LAYERBelow search bar layer.- Since:
- jEdit 4.0pre7
- See Also:
-
ACTION_BAR_LAYER
public static final int ACTION_BAR_LAYERAction bar layer.- Since:
- jEdit 4.2pre1
- See Also:
-
STATUS_BAR_LAYER
public static final int STATUS_BAR_LAYERStatus bar layer.- Since:
- jEdit 4.2pre1
- See Also:
-
BELOW_STATUS_BAR_LAYER
public static final int BELOW_STATUS_BAR_LAYERStatus bar layer.- Since:
- jEdit 4.2pre1
- See Also:
-
VIEW
public static final int VIEW- See Also:
-
TEXT_AREA
public static final int TEXT_AREA- See Also:
-
ACTION_BAR
public static final int ACTION_BAR- See Also:
-
-
Method Details
-
getDockableWindowManager
Returns the dockable window manager associated with this view.- Since:
- jEdit 2.6pre3
-
getDockingFrameworkName
-
getDockingFrameworkProvider
-
getToolBar
Returns the view's tool bar.- Since:
- jEdit 4.2pre1
-
addToolBar
Adds a tool bar to this view.- Parameters:
toolBar
- The tool bar
-
addToolBar
Adds a tool bar to this view.- Parameters:
group
- The tool bar group to add totoolBar
- The tool bar- Since:
- jEdit 4.0pre7
- See Also:
-
addToolBar
Adds a tool bar to this view.- Parameters:
group
- The tool bar group to add tolayer
- The layer of the group to add totoolBar
- The tool bar- Since:
- jEdit 4.0pre7
- See Also:
-
removeToolBar
Removes a tool bar from this view.- Parameters:
toolBar
- The tool bar
-
showWaitCursor
public void showWaitCursor()Shows the wait cursor. This method andhideWaitCursor()
are implemented using a reference count of requests for wait cursors, so that nested calls work correctly; however, you should be careful to use these methods in tandem.To ensure that
hideWaitCursor()
is always called after ashowWaitCursor()
, use atry
/finally
block, like this:try { view.showWaitCursor(); // ... } finally { view.hideWaitCursor(); }
-
hideWaitCursor
public void hideWaitCursor()Hides the wait cursor. -
getSearchBar
Returns the search bar.- Since:
- jEdit 2.4pre4
-
getActionBar
Returns the action bar.- Since:
- jEdit 4.2pre3
-
getStatus
Returns the status bar. TheStatusBar.setMessage(String)
andStatusBar.setMessageAndClear(String)
methods can be called on the return value of this method to display status information to the user.- Since:
- jEdit 3.2pre2
-
quickIncrementalSearch
public void quickIncrementalSearch(boolean word) Quick search.- Since:
- jEdit 4.0pre3
-
quickHyperSearch
public void quickHyperSearch(boolean word) Quick HyperSearch.- Since:
- jEdit 4.0pre3
-
actionBar
public void actionBar()Shows the action bar if needed, and sends keyboard focus there.- Since:
- jEdit 4.2pre1
-
getKeyEventInterceptor
Returns the listener that will handle all key events in this view, if any.- Returns:
- the key event interceptor or null
-
setKeyEventInterceptor
Sets the listener that will handle all key events in this view. For example, the complete word command uses this so that all key events are passed to the word list popup while it is visible.- Parameters:
listener
- The key event interceptor.
-
getInputHandler
Returns the input handler.- Specified by:
getInputHandler
in interfaceInputHandlerProvider
-
setInputHandler
Sets the input handler.- Parameters:
inputHandler
- The new input handler
-
getMacroRecorder
Returns the macro recorder. -
setMacroRecorder
Sets the macro recorder.- Parameters:
recorder
- The macro recorder
-
processKeyEvent
Forwards key events directly to the input handler. This is slightly faster than using a KeyListener because some Swing overhead is avoided.- Overrides:
processKeyEvent
in classJComponent
-
processKeyEvent
Forwards key events directly to the input handler. This is slightly faster than using a KeyListener because some Swing overhead is avoided. -
processKeyEvent
Forwards key events directly to the input handler. This is slightly faster than using a KeyListener because some Swing overhead is avoided. -
splitHorizontally
Splits the view horizontally.- Returns:
- the new editPane
- Since:
- jEdit 4.1pre2
-
splitVertically
Splits the view vertically.- Returns:
- the new editPane
- Since:
- jEdit 4.1pre2
-
split
Splits the view.- Parameters:
orientation
- the orientationJSplitPane.HORIZONTAL_SPLIT
orJSplitPane.VERTICAL_SPLIT
- Returns:
- the new editPane
- Since:
- jEdit 4.1pre2
-
unsplit
public void unsplit()Unsplits the view.- Since:
- jEdit 2.3pre2
-
unsplitCurrent
public void unsplitCurrent()Removes the current split.- Since:
- jEdit 2.3pre2
-
resplit
public void resplit()Restore the split configuration as it was before unsplitting.- Since:
- jEdit 4.3pre1
-
getSplitConfig
Split configurations are recorded in a simple RPN "language".- Returns:
- The split configuration, describing where splitpanes are, which buffers are open in each EditPane, etc.
-
setSplitConfig
sets the split configuration as per the splitConfig.- Parameters:
buffer
- if null, checks all buffers to restore View's split config.splitConfig
- the split config, as returned by getSplitConfig()
-
nextTextArea
public void nextTextArea()Moves keyboard focus to the next text area.- Since:
- jEdit 2.7pre4
-
prevTextArea
public void prevTextArea()Moves keyboard focus to the previous text area.- Since:
- jEdit 2.7pre4
-
getSplitPane
Returns the top-level split pane, if any.- Returns:
- the top JSplitPane if any.
- Since:
- jEdit 2.3pre2
-
getBuffer
Returns the current edit pane's buffer.- Returns:
- the current edit pane's buffer, it can be null
-
getBuffers
Returns all Buffers opened in this View, Sorted according to View options. (as of jEdit 5.2) With order preserved for unsorted buffersets (as of jEdit 5.3)- Since:
- jEdit 5.1
-
setBuffer
Sets the current edit pane's buffer.- Parameters:
buffer
- The buffer
-
goToBuffer
If this buffer is open in one of the view's edit panes, sets focus to that edit pane. Otherwise, opens the buffer in the currently active edit pane.- Parameters:
buffer
- The buffer- Returns:
- the current edit pane
- Since:
- jEdit 4.2pre1
-
showBuffer
If this buffer is open in one of the view's edit panes, activates that edit pane. Otherwise, opens the buffer in the currently active edit pane. But the focus is not moved.- Parameters:
buffer
- The buffer to show- Returns:
- the current edit pane
- Since:
- jEdit 4.3pre13
-
getTextArea
Returns the current edit pane's text area.- Specified by:
getTextArea
in classViewBase
- Returns:
- the current edit pane's text area, or null if there is no edit pane yet
-
getEditPane
Returns the current edit pane.- Returns:
- the current edit pane
- Since:
- jEdit 2.5pre2
-
getEditPanes
Returns all edit panes.- Returns:
- an array of all edit panes in the view
- Since:
- jEdit 2.5pre2
-
forEachEditPane
Perform the given action on every EditPane- Parameters:
action
- an action to perform on every EditPane
-
getViewConfig
- Returns:
- a ViewConfig instance for the current view
- Since:
- jEdit 4.2pre1
-
isClosed
public boolean isClosed()Returns true if this view has been closed withjEdit.closeView(View)
.- Returns:
- true if the view is closed
-
isPlainView
public boolean isPlainView()Returns true if this is an auxilliary view with no dockable windows.- Returns:
- true if the view is plain
- Since:
- jEdit 4.1pre2
-
getNext
Returns the next view in the list.- Returns:
- the next view
-
getPrev
Returns the previous view in the list.- Returns:
- the preview view
-
setPrev
Set the previous view in linked list. To be used byBufferManager
only- Parameters:
prev
-- Since:
- jEdit 5.6pre1
-
setNext
Set the next view in linked list. To be used byBufferManager
only- Parameters:
next
-- Since:
- jEdit 5.6pre1
-
handlePropertiesChanged
-
handleSearchSettingsChanged
-
getMinimumSize
- Overrides:
getMinimumSize
in classJComponent
-
setWaitSocket
This socket is closed when the buffer is closed. -
toString
-
updateTitle
public void updateTitle()Updates the title bar. -
setUserTitle
Sets a user-defined title for this view instead of the "view.title" property. -
showUserTitleDialog
public void showUserTitleDialog()Shows a dialog for selecting a user-defined title for this view. -
getPrefixFocusOwner
-
setPrefixFocusOwner
-
visit
Visit the the editpanes and textareas of the view- Parameters:
visitor
- the visitor- Since:
- jEdit 4.3pre13
-
closeAllMenus
public void closeAllMenus()closes any popup menus that may have been opened- Since:
- jEdit 4.4pre1
-
updateFullScreenProps
public void updateFullScreenProps() -
isFullScreenMode
public boolean isFullScreenMode() -
toggleFullScreen
public void toggleFullScreen() -
propertiesChanged
public void propertiesChanged()Reloads various settings from the properties.- Overrides:
propertiesChanged
in classViewBase
-
updateBufferSwitcherStates
public void updateBufferSwitcherStates()Enables or Disables the "Focus Buffer Switcher" menu item in the View menu depending on the visible state of the buffer switcher. The menu item is intended to have the same effect as clicking on the buffer switcher combo box, and it doesn't make sense to have this action available if the buffer switcher isn't visible. Also shows or hides the Buffer Switcher itself, since this can be invoked after the toggle buffer switcher action. -
handleBufferUpdate
-
handleEditPaneUpdate
-
handleViewUpdate
-
adjust
-
revalidate
void revalidate() -
getContentPane
Container getContentPane()
-