NetLogo 6.2.2 - org.nlogo.editor.SuspendCaretPopupListener
Keywords: NetLogo 6.2.2 org.nlogo.editor.SuspendCaretPopupListener

NetLogo6.2.2 < Back
 

# Packages

-  package root
  Definition Classes
    root
-  package org
  Definition Classes
    root
-  package nlogo
  Definition Classes
    org
-  package editor

  Provides classes associated with the NetLogo Editor

  Provides classes associated with the NetLogo Editor

  Shouldn't depend on any other netlogo packages besides `org.nlogo.core`

  Definition Classes
    nlogo
- AbstractEditorArea
- Actions
- AdvancedEditorArea
- Colorizer
- DocumentAction
- DocumentProperties
- DumbIndenter
- EditorArea
- EditorAwareAction
- EditorConfiguration
- EditorField
- EditorListener
- EditorMenu
- EditorScrollPane
- FocusTraversable
- FocusTraversalListener
- HighlightEditorKit
- HighlightView
- Indenter
- InstallableAction
- KeyBinding
- LineNumberScrollPane
- LineNumbersBar
- LinePainter
- MouseQuickHelpAction
- QuickHelpAction
- RichDocument
- SuspendCaretPopupListener
- ToggleFoldsAction
- TransferFocusAction
- TransferFocusBackwardAction
- UndoManager

c

org.nlogo.editor

# SuspendCaretPopupListener 

###

#### class SuspendCaretPopupListener extends PopupMenuListener

This class solves a very particular and peculiar problem. When a JTextComponent launches a popup menu, the caret continues to process mouse events as normal. This is obviously undesirable for a number of reasons, and is especially problematic on a mac, where there is only one mouse button. This class ensures that the caret (and thus the selection) are frozen at the moment the popup menu is activated and are restored when it closes.

Source
  SuspendCaretPopupListener.scala

Linear Supertypes
PopupMenuListener, EventListener, AnyRef, Any
 
Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. SuspendCaretPopupListener
2. PopupMenuListener
3. EventListener
4. AnyRef
5. Any

1. Hide All
2. Show All

Visibility

1. Public
2. All

### Instance Constructors

1.  new SuspendCaretPopupListener(component: JTextComponent)

### Value Members

1.  final def !=(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
2.  final def ##(): Int
   Definition Classes
     AnyRef → Any
3.  final def ==(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
4.  final def asInstanceOf[T0]: T0
   Definition Classes
     Any
5.  def clone(): AnyRef
   Attributes
     protected[lang]
   Definition Classes
     AnyRef
   Annotations
     @throws( ... ) @native()
6.  final def eq(arg0: AnyRef): Boolean
   Definition Classes
     AnyRef
7.  def equals(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
8.  def finalize(): Unit
   Attributes
     protected[lang]
   Definition Classes
     AnyRef
   Annotations
     @throws( classOf[java.lang.Throwable] )
9.  final def getClass(): Class[_]
   Definition Classes
     AnyRef → Any
   Annotations
     @native()
10.  def hashCode(): Int
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
11.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
12.  final def ne(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
13.  final def notify(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
14.  final def notifyAll(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
15.  def popupMenuCanceled(e: PopupMenuEvent): Unit
    Definition Classes
      SuspendCaretPopupListener → PopupMenuListener
16.  def popupMenuWillBecomeInvisible(e: PopupMenuEvent): Unit
    Definition Classes
      SuspendCaretPopupListener → PopupMenuListener
17.  def popupMenuWillBecomeVisible(e: PopupMenuEvent): Unit
    Definition Classes
      SuspendCaretPopupListener → PopupMenuListener
18.  var shouldEnableDrag: Option[Boolean]
19.  var suspendedListener: Option[DefaultCaret]
20.  final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
      AnyRef
21.  def toString(): String
    Definition Classes
      AnyRef → Any
22.  final def wait(): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
23.  final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
24.  final def wait(arg0: Long): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... ) @native()

### Inherited from PopupMenuListener

### Inherited from EventListener

### Inherited from AnyRef

### Inherited from Any

### Ungrouped