Skip navigation links

Oracle© Fusion Middleware Java API Reference for Oracle ADF Faces
11g Release 1 (11.1.1.9.1)
E67678-01


oracle.adf.view.rich.util
Class InstanceStyles

java.lang.Object
  extended by oracle.adf.view.rich.util.InstanceStyles

Direct Known Subclasses:
CalendarActivityRamp, CalendarSkinInstanceStyles

public abstract class InstanceStyles
extends java.lang.Object

The InstanceStyles class is a way to provide per instance styles based on skinning keys

Author:
The Oracle ADF Faces Team

Constructor Summary
InstanceStyles()
           

 

Method Summary
abstract  java.lang.String getInlineStyle(java.lang.String skinningKey)
           
 java.lang.String[] getStyleClasses()
          Used to return a marker which will be rendered on the component dom.

 

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 java.lang.String getInlineStyle(java.lang.String skinningKey)
Parameters:
skinningKey - publicly documented skinning key, for example "af|inputText"
Returns:
inline style string, for example "background-color:red"

getStyleClasses

public java.lang.String[] getStyleClasses()
Used to return a marker which will be rendered on the component dom. The marker can then be used to group together CSS styles for the activity in the skin file. For example, style class "AFCalendarCategory1" in the Alta skin groups together the selectors for rendering calendar activity with the same color.
Returns:
Marker class(es) which group together related styles, e.g. "AFCalendarCategory1"

Skip navigation links

Oracle© Fusion Middleware Java API Reference for Oracle ADF Faces
11g Release 1 (11.1.1.9.1)
E67678-01


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