Class AbstractItem.IdeStyle

  • Enclosing class:
    AbstractItem<R extends Model,​O,​P extends Model,​PE extends java.lang.Enum<PE>,​M extends Model,​E extends java.lang.Enum<E>>

    public class AbstractItem.IdeStyle
    extends java.lang.Object
    Convenience Class to build style.
    • Constructor Summary

      Constructors 
      Constructor Description
      IdeStyle()
      Instantiate for the Model.
      IdeStyle​(java.lang.String selector)
      Instantiate with selector.
    • 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()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • IdeStyle

        public IdeStyle​(java.lang.String selector)
        Instantiate with selector.
        Parameters:
        selector - Selector for applying the style.
      • IdeStyle

        public IdeStyle()
        Instantiate for the Model.
    • 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 class java.lang.Object