oracle.adf.view.rich.util

## Class InstanceStyles

- java.lang.Object
- - oracle.adf.view.rich.util.InstanceStyles

- Direct Known Subclasses:
    CalendarActivityRamp, CalendarSkinInstanceStyles

      public abstract class InstanceStyles
      extends Object

  The InstanceStyles class is a way to provide per instance styles based on skinning keys
  Author:
    The Oracle ADF Faces Team

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `InstanceStyles()`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `abstract String` | `getInlineStyle(String skinningKey)`
    `String[]` | `getStyleClasses()` Used to return a marker which can be rendered on the components's dom as a class attribute.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### InstanceStyles

          public InstanceStyles()

  - ### Method Detail

    - #### getInlineStyle

          public abstract String getInlineStyle(String skinningKey)

      Parameters:
        `skinningKey` - publicly documented skinning key, for example "af|inputText"
      Returns:
        inline style string, for example "background-color:red"

    - #### getStyleClasses

          public String[] getStyleClasses()

      Used to return a marker which can be rendered on the components's dom as a class attribute. The marker can then be used to group together CSS styles for the component instance in the skin file. For example, "AFCalendarCategory1" in the Alta skin groups together CSS selectors for rendering blue calendar activities.
      Returns:
        Marker class(es) which group together related styles for the component.

Copyright (c) 1998, 2018, Oracle and/or its affiliates. All rights reserved.