Trait

de.sciss.mellite.impl.objview.ObjListViewImpl

NonEditable

Related Doc: package ObjListViewImpl

Permalink

trait NonEditable[S <: Sys[S]] extends ObjListView[S]

A trait that when mixed in provides isEditable and tryEdit as non-op methods.

Linear Supertypes
ObjListView[S], ObjView[S], Observable[S.Tx, Update[S]], Disposable[S.Tx], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NonEditable
  2. ObjListView
  3. ObjView
  4. Observable
  5. Disposable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. abstract type Repr <: Obj[S]

    Permalink
    Definition Classes
    ObjView

Abstract Value Members

  1. abstract def colorOption: Option[Color]

    Permalink
    Definition Classes
    ObjView
  2. abstract def configureListCellRenderer(label: Label): Component

    Permalink

    Configures the value cell renderer.

    Configures the value cell renderer. The simplest case would be label.text = value.toString. In order to leave the cell blank, just return the label. One can also set its icon.

    Definition Classes
    ObjListView
  3. abstract def dispose()(implicit tx: S.Tx): Unit

    Permalink
    Definition Classes
    Disposable
  4. abstract def factory: Factory

    Permalink
    Definition Classes
    ObjView
  5. abstract def humanName: String

    Permalink
    Definition Classes
    ObjView
  6. abstract def icon: Icon

    Permalink

    A view must provide an icon for the user interface.

    A view must provide an icon for the user interface. It should have a dimension of 32 x 32 and ideally be drawn as vector graphics in order to look good when applying scaling.

    Definition Classes
    ObjView
  7. abstract def isViewable: Boolean

    Permalink

    Whether a dedicated view/editor window exists for this type of object.

    Whether a dedicated view/editor window exists for this type of object.

    Definition Classes
    ObjView
  8. abstract def nameOption: Option[String]

    Permalink

    The contents of the "name" attribute of the object.

    The contents of the "name" attribute of the object. This is directly set by the table tree view. The object view itself must only make sure that an initial value is provided.

    Definition Classes
    ObjView
  9. abstract def nameOption_=(value: Option[String]): Unit

    Permalink
    Definition Classes
    ObjListView
  10. abstract def obj(implicit tx: S.Tx): Repr

    Permalink

    The view must store a handle to its underlying model.

    The view must store a handle to its underlying model.

    Definition Classes
    ObjView
  11. abstract def objH: Source[S.Tx, Repr]

    Permalink
    Definition Classes
    ObjView
  12. abstract def openView(parent: Option[Window[S]])(implicit tx: S.Tx, universe: Universe[S]): Option[Window[S]]

    Permalink

    If the object is viewable, this method is invoked when the user pressed the eye button.

    If the object is viewable, this method is invoked when the user pressed the eye button. The method should return an appropriate view for this object, or None if no editor or viewer window can be produced.

    Definition Classes
    ObjView
  13. abstract def react(fun: (S.Tx) ⇒ (Update[S]) ⇒ Unit)(implicit tx: S.Tx): Disposable[S.Tx]

    Permalink
    Definition Classes
    Observable
  14. abstract def value: Any

    Permalink

    The opaque view value passed into the renderer.

    The opaque view value passed into the renderer.

    Definition Classes
    ObjListView

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def createTransferable(): Option[Transferable]

    Permalink
    Definition Classes
    ObjView
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  11. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. def isListCellEditable: Boolean

    Permalink

    Whether the opaque value part of the view can be edited in-place (inside the table itself).

    Whether the opaque value part of the view can be edited in-place (inside the table itself).

    Definition Classes
    NonEditableObjListView
  14. def name: String

    Permalink

    Convenience method that returns an "unnamed" string if no name is set.

    Convenience method that returns an "unnamed" string if no name is set.

    Definition Classes
    ObjView
  15. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  19. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  20. def tryEditListCell(value: Any)(implicit tx: S.Tx, cursor: Cursor[S]): Option[UndoableEdit]

    Permalink

    Given that the view is editable, this method is called when the editor gave notification about the editing being done.

    Given that the view is editable, this method is called when the editor gave notification about the editing being done. It is then the duty of the view to issue a corresponding transactional mutation, returned in an undoable edit. Views that do not support editing should just return None.

    Definition Classes
    NonEditableObjListView
  21. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ObjListView[S]

Inherited from ObjView[S]

Inherited from Observable[S.Tx, Update[S]]

Inherited from Disposable[S.Tx]

Inherited from AnyRef

Inherited from Any

Ungrouped