case class StyleDeclarationSet(paths: Set[Path], styles: Set[StyleDeclaration], precedence: Precedence = Precedence.High) extends Product with Serializable
Represents a set of one or more style declarations.
- paths
the paths the style declarations have been obtained from
- styles
the style declarations that belong to this set
- precedence
the precedence of this set compared to other provided sets
- Alphabetic
- By Inheritance
- StyleDeclarationSet
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
StyleDeclarationSet(paths: Set[Path], styles: Set[StyleDeclaration], precedence: Precedence = Precedence.High)
- paths
the paths the style declarations have been obtained from
- styles
the style declarations that belong to this set
- precedence
the precedence of this set compared to other provided sets
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
++(set: StyleDeclarationSet): StyleDeclarationSet
Merges the style declaration of this instance with the specified set and returns the merged set in a new instance.
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
collectStyles(target: Element, parents: Seq[Element]): Map[String, String]
Collects all the styles that apply to the specified target element.
Collects all the styles that apply to the specified target element.
- target
the target element to collect the matching styles for
- parents
the parents of the specified target element
- returns
a map representing the keys and values of all styles that apply to the target element
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
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() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val paths: Set[Path]
- val precedence: Precedence
- val styles: Set[StyleDeclaration]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated