Package net.officefloor.gef.ide.editor
Class AbstractItem.IdeStyle
- java.lang.Object
-
- net.officefloor.gef.ide.editor.AbstractItem.IdeStyle
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractItem.IdeStyle
rule(java.lang.String key, java.lang.String value)
Adds a rule for this style.java.lang.String
toString()
-
-
-
Constructor Detail
-
IdeStyle
public IdeStyle(java.lang.String selector)
Instantiate with selector.- Parameters:
selector
- Selector for applying the style.
-
IdeStyle
public IdeStyle()
Instantiate for theModel
.
-
-
Method Detail
-
rule
public AbstractItem.IdeStyle rule(java.lang.String key, java.lang.String value)
Adds a rule for this style.- Parameters:
key
- Key of the rule.value
- Value of the rule.- Returns:
this
.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-