ChildVisibilityAction

scalismo.ui.view.action.popup.ChildVisibilityAction$
See theChildVisibilityAction companion class

Attributes

Companion
class
Graph
Supertypes
trait Factory
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

override def apply(nodes: List[SceneNode])(implicit frame: ScalismoFrame): List[PopupActionWithOwnMenu]

Attributes

Definition Classes

Inherited methods

final def allMatch[T : ClassTag](nodes: List[SceneNode]): List[T]

This is a helper method which will return a non-empty list of items of type T, if and only if all of the given nodes are of type T.

This is a helper method which will return a non-empty list of items of type T, if and only if all of the given nodes are of type T.

Type parameters

T

the type you're interested in

Value parameters

nodes

a list of SceneNode

Attributes

Returns

the elements in the nodes list, as a List[T], if all of them are of type T, or an empty list otherwise.

Inherited from:
NodeListFilters
final def singleMatch[T : ClassTag](nodes: List[SceneNode]): Option[T]

This is a helper methode which returns a non-empty Option[T] if and only if the list of nodes consists of a single item of type T

This is a helper methode which returns a non-empty Option[T] if and only if the list of nodes consists of a single item of type T

Type parameters

T

the type you're interested in

Value parameters

nodes

a list of SceneNode

Attributes

Returns

Some[T] if the list consisted of a single item of type T, or None otherwise

Inherited from:
NodeListFilters
final def someMatch[T : ClassTag](nodes: List[SceneNode]): List[T]

This is a helper method which will filter a list of nodes, and return those which are of a given type T.

This is a helper method which will filter a list of nodes, and return those which are of a given type T.

Type parameters

T

the type you're interested in

Value parameters

nodes

a list of SceneNode

Attributes

Returns

all the elements in the nodes list which are of type T, as a List[T]

Inherited from:
NodeListFilters