Trait/Object

de.sciss.mellite.gui

ListObjView

Related Docs: object ListObjView | package gui

Permalink

trait ListObjView[S <: Sys[S]] extends ObjView[S]

Linear Supertypes
ObjView[S], Disposable[S.Tx], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ListObjView
  2. ObjView
  3. Disposable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract val colorOption: Option[Color]

    Permalink
    Definition Classes
    ObjView
  2. abstract def configureRenderer(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.

  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 isEditable: Boolean

    Permalink

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

  8. abstract def isUpdateVisible(update: Any)(implicit tx: S.Tx): Boolean

    Permalink

    Passes in a received opaque update to ask whether the view should be repainted due to this update.

    Passes in a received opaque update to ask whether the view should be repainted due to this update. This is a transactional method. If the view wants to update its internal state, it should do that using deferTx to perform mutable state changes on the EDT, and then return true to trigger a refresh of the table row.

  9. 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
  10. abstract val 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
  11. abstract def obj: Source[S.Tx, Obj[S]]

    Permalink

    The view must store a handle to its underlying model.

    The view must store a handle to its underlying model.

    Definition Classes
    ObjView
  12. abstract def openView(parent: Option[Window[S]])(implicit tx: S.Tx, workspace: Workspace[S], cursor: Cursor[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 tryEdit(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.

  14. abstract def value: Any

    Permalink

    The opaque view value passed into the renderer.

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. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  12. 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
  13. final def ne(arg0: AnyRef): Boolean

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  18. final def wait(): Unit

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

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

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

Inherited from ObjView[S]

Inherited from Disposable[S.Tx]

Inherited from AnyRef

Inherited from Any

Ungrouped