Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.richfaces.renderkit.html.images
Class BaseControlBackgroundImage

    java.lang.Object
      org.richfaces.renderkit.html.BaseGradient
          org.richfaces.renderkit.html.images.BaseControlBackgroundImage

All Implemented Interfaces:
  org.richfaces.resource.Java2DUserResource, org.richfaces.resource.StateHolderResource, org.richfaces.resource.VersionedResource

Direct Known Subclasses:
  ButtonBackgroundImage, ButtonDisabledBackgroundImage, InputBackgroundImage, StandardButtonBgImage, StandardButtonPressedBgImage

    public abstract class BaseControlBackgroundImage

extends BaseGradient

Created 23.02.2008

Since:
  3.2
Author:
  Nick Belaevski

Field Summary

Fields inherited from class org.richfaces.renderkit.html.BaseGradient
`gradientType, headerBackgroundColor, headerGradientColor`

Constructor Summary
`BaseControlBackgroundImage(java.lang.String baseColor, java.lang.String gradientColor, int width)`

Method Summary
`protected int` | `getHeight()`
`java.lang.Integer` | `getHeight(javax.faces.context.FacesContext context, java.lang.String parameterName)`
`void` | `readState(javax.faces.context.FacesContext context, java.io.DataInput stream)`
`void` | `writeState(javax.faces.context.FacesContext context, java.io.DataOutput stream)`

Methods inherited from class org.richfaces.renderkit.html.BaseGradient
`drawGradient, getBaseColor, getDimension, getGradientColor, getGradientHeight, getImageType, getLastModified, getResponseHeaders, getVersion, getWidth, isHorizontal, isTransient, paint, paintGradient`

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

Constructor Detail

### BaseControlBackgroundImage

    public BaseControlBackgroundImage(java.lang.String baseColor,
                                      java.lang.String gradientColor,
                                      int width)

Method Detail

### getHeight

    protected int getHeight()

  Overrides:
    `getHeight` in class `BaseGradient`

### writeState

    public void writeState(javax.faces.context.FacesContext context,
                           java.io.DataOutput stream)
                    throws java.io.IOException

  Specified by:
    `writeState` in interface `org.richfaces.resource.StateHolderResource`
  Overrides:
    `writeState` in class `BaseGradient`
  Throws:
    `java.io.IOException`

### readState

    public void readState(javax.faces.context.FacesContext context,
                          java.io.DataInput stream)
                   throws java.io.IOException

  Specified by:
    `readState` in interface `org.richfaces.resource.StateHolderResource`
  Overrides:
    `readState` in class `BaseGradient`
  Throws:
    `java.io.IOException`

### getHeight

    public java.lang.Integer getHeight(javax.faces.context.FacesContext context,
                                       java.lang.String parameterName)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.