trait GraphemeTool[S <: Sys[S], A] extends BasicTool[S, A]
A tool that operates on object inside the grapheme view.
- A
the type of element that represents an ongoing edit state (typically during mouse drag).
- Alphabetic
- By Inheritance
- GraphemeTool
- BasicTool
- Model
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
addListener(pf: Listener[Update[A]]): pf.type
- Definition Classes
- Model
-
abstract
def
commit(drag: A)(implicit tx: S.Tx, cursor: Cursor[S]): Option[UndoableEdit]
Called after the end of a mouse drag gesture.
Called after the end of a mouse drag gesture. If this constitutes a valid edit, the method should return the resulting undoable edit.
- drag
the last editing state
- cursor
the cursor that might be needed to construct the undoable edit
- returns
either
Someedit orNoneif the action does not constitute an edit or the edit parameters are invalid.
- Definition Classes
- BasicTool
-
abstract
def
defaultCursor: Cursor
The mouse cursor used when the tool is active.
The mouse cursor used when the tool is active.
- Definition Classes
- BasicTool
-
abstract
def
icon: Icon
The icon to use in a tool bar.
The icon to use in a tool bar.
- Definition Classes
- BasicTool
-
abstract
def
install(component: Component): Unit
Called to activate the tool to operate on the given component.
Called to activate the tool to operate on the given component.
- Definition Classes
- BasicTool
-
abstract
def
name: String
The human readable name of the tool.
The human readable name of the tool.
- Definition Classes
- BasicTool
-
abstract
def
removeListener(pf: Listener[Update[A]]): Unit
- Definition Classes
- Model
-
abstract
def
uninstall(component: Component): Unit
Called to deactivate the tool before switching to a different tool.
Called to deactivate the tool before switching to a different tool.
- Definition Classes
- BasicTool
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )