Trait/Object

org.senkbeil.grus.structures

MenuItem

Related Docs: object MenuItem | package structures

Permalink

trait MenuItem extends AnyRef

Represents a generic menu item.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MenuItem
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def children: Seq[MenuItem]

    Permalink

    returns

    The children of the menu item

  2. abstract def fake: Boolean

    Permalink

    returns

    If marked as fake, indicates that the menu item should not be used and is around for other purposes

  3. abstract def link: Option[String]

    Permalink

    returns

    The link for the menu item, or None if the menu item does not link to any content

  4. abstract def name: String

    Permalink

    returns

    The name of the menu item

  5. abstract def page: Option[Page]

    Permalink

    returns

    The page associated with the menu item, which will be the fake child page if representing a directory or the actual page if representing a normal page

  6. abstract def selected: Boolean

    Permalink

    returns

    Whether or not the menu item is selected

  7. abstract def weight: Double

    Permalink

    returns

    The weight associated with the menu item, used for ordering where smaller weights should appear first (left/top) and larger weights should appear last (right/bottom)

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. def isDirectlyOrIndirectlySelected: Boolean

    Permalink

    Indicates whether or not this menu item or any of its children (or one of its their children, recursive) is selected.

    Indicates whether or not this menu item or any of its children (or one of its their children, recursive) is selected.

    returns

    True if this menu item or any child of this menu item or any one of their children (recursive) is selected, otherwise false

  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  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. def representsPage(page: Page): Boolean

    Permalink

    Indicates whether or not the menu item represents the specified page.

    Indicates whether or not the menu item represents the specified page.

    page

    The page to compare to the menu item

    returns

    True if the menu item represents the page, otherwise false

  17. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped