org.kuali.rice.krad.uif
Class CssConstants

java.lang.Object
  extended by org.kuali.rice.krad.uif.CssConstants

public class CssConstants
extends Object

Constants for CSS style strings

Author:
Kuali Rice Team (rice.collab@kuali.org)

Nested Class Summary
static class CssConstants.Displays
           
static class CssConstants.Margins
           
static class CssConstants.Padding
           
static class CssConstants.TextAligns
           
static class CssConstants.VerticalAligns
           
 
Field Summary
static String DISPLAY
           
static String TEXT_ALIGN
           
static String VERTICAL_ALIGN
           
static String WIDTH
           
 
Constructor Summary
CssConstants()
           
 
Method Summary
static String getCssStyle(String style, String... parameters)
          Replaces parameters in the given CSS string with the corresponding parameter values given
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DISPLAY

public static final String DISPLAY
See Also:
Constant Field Values

TEXT_ALIGN

public static final String TEXT_ALIGN
See Also:
Constant Field Values

VERTICAL_ALIGN

public static final String VERTICAL_ALIGN
See Also:
Constant Field Values

WIDTH

public static final String WIDTH
See Also:
Constant Field Values
Constructor Detail

CssConstants

public CssConstants()
Method Detail

getCssStyle

public static final String getCssStyle(String style,
                                       String... parameters)
Replaces parameters in the given CSS string with the corresponding parameter values given

Parameters:
style - - String with parameters to replace
parameters - - One or more parameter values
Returns:
String given string with filled parameters


Copyright © 2005-2011 The Kuali Foundation. All Rights Reserved.