Skip navigation links

Oracle© Fusion Middleware Java API Reference for Oracle ADF Faces
11g Release 1 (11.1.1.7.2)
E10684-10


oracle.adf.view.rich.util
Class CalendarSkinInstanceStyles

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


public class CalendarSkinInstanceStyles
extends InstanceStyles

The CalendarSkinInstanceStyles class is a way to provide per instance styling of calendar activity based on marker CSS classes.

Author:
The Oracle ADF Faces Team

Constructor Summary
CalendarSkinInstanceStyles(java.lang.String[] styleClasses)
           

 

Method Summary
 java.lang.String getInlineStyle(java.lang.String skinningKey)
           
 java.awt.Color getRepresentativeColor()
          The color for the calendar activity.
 java.lang.String[] getStyleClasses()
          Used to return String markers which will be rendered on the activity dom's class attribute.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

CalendarSkinInstanceStyles

public CalendarSkinInstanceStyles(java.lang.String[] styleClasses)

Method Detail

getInlineStyle

public java.lang.String getInlineStyle(java.lang.String skinningKey)
Specified by:
getInlineStyle in class InstanceStyles
Parameters:
skinningKey - publicly documented skinning key
Returns:
null, appearance will be controlled by skin, search for the value of _styleClasses in the skin to see which selectors are affected.

getStyleClasses

public java.lang.String[] getStyleClasses()
Used to return String markers which will be rendered on the activity dom's class attribute. The marker can then be used to group together CSS styles for the activity in the skin file. For example, search for "AFCalendarCategory1" in the Alta skin.
Overrides:
getStyleClasses in class InstanceStyles
Returns:
Marker classes which groups together related styles for an activity color, e.g. "AFCalendarCategory1"

getRepresentativeColor

public java.awt.Color getRepresentativeColor()
The color for the calendar activity. Can be used to associate the activity with a color picker.

Skip navigation links

Oracle© Fusion Middleware Java API Reference for Oracle ADF Faces
11g Release 1 (11.1.1.7.2)
E10684-10


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