org.richfaces.renderkit.html.images

## Class CalendarIcon

- java.lang.Object
- - org.richfaces.resource.AbstractJava2DUserResource
  - - org.richfaces.renderkit.html.images.CalendarIcon

- All Implemented Interfaces:
    Java2DUserResource, StateHolderResource
  Direct Known Subclasses:
    DisabledCalendarIcon

      public class CalendarIcon
      extends AbstractJava2DUserResource
      implements StateHolderResource

  Author:
    amarkhel

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `CalendarIcon()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected BufferedImage` | `createImage(int width, int height)`
    `void` | `initialize()`
    `boolean` | `isTransient()`
    `void` | `paint(Graphics2D graphics2d)`
    `BufferedImage` | `paintImage()`
    `void` | `readState(javax.faces.context.FacesContext context, DataInput dataInput)`
    `void` | `writeState(javax.faces.context.FacesContext context, DataOutput dataOutput)`

    - ### Methods inherited from class org.richfaces.resource.AbstractJava2DUserResource

      `getDimension, getImageType, getLastModified, getResponseHeaders`

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

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

- - ### Constructor Detail

    - #### CalendarIcon

          public CalendarIcon()

  - ### Method Detail

    - #### initialize

          public final void initialize()

    - #### isTransient

          public boolean isTransient()

      Specified by:
        `isTransient` in interface `StateHolderResource`

    - #### writeState

          public void writeState(javax.faces.context.FacesContext context,
                                 DataOutput dataOutput)
                          throws IOException

      Specified by:
        `writeState` in interface `StateHolderResource`
      Throws:
        `IOException`

    - #### readState

          public void readState(javax.faces.context.FacesContext context,
                                DataInput dataInput)
                         throws IOException

      Specified by:
        `readState` in interface `StateHolderResource`
      Throws:
        `IOException`

    - #### createImage

          protected BufferedImage createImage(int width,
                                              int height)

    - #### paint

          public void paint(Graphics2D graphics2d)

      Specified by:
        `paint` in interface `Java2DUserResource`

    - #### paintImage

          public BufferedImage paintImage()

Copyright © 2015 JBoss by Red Hat. All Rights Reserved.