echopointng.command
Class CssStyleDecl

java.lang.Object
  extended by echopointng.command.CssStyleDecl
All Implemented Interfaces:
Command, RenderIdSupport
Direct Known Subclasses:
CssStyleAdd, CssStyleSheetAdd

public abstract class CssStyleDecl
extends java.lang.Object
implements Command, RenderIdSupport

CssStyleDecl is a abstract base class for Commands that implement CSS style and style sheet capabilities.


Constructor Summary
protected CssStyleDecl()
          Constructs a CssStyleDecl object
 
Method Summary
 java.lang.String getMedia()
          Sets the media for the CSS Style information The following types are currently know to most CSS implementations screen - Intended for non-paged computer screens.
 java.lang.String getRenderId()
          Generates a unique id for the Command so it can be addressed later.
 void setMedia(java.lang.String media)
          Sets the media that the CSS style information applies to.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CssStyleDecl

protected CssStyleDecl()
Constructs a CssStyleDecl object

Method Detail

getRenderId

public java.lang.String getRenderId()
Generates a unique id for the Command so it can be addressed later.

Specified by:
getRenderId in interface RenderIdSupport
See Also:
RenderIdSupport.getRenderId()

getMedia

public java.lang.String getMedia()
Sets the media for the CSS Style information The following types are currently know to most CSS implementations

Returns:
the media

setMedia

public void setMedia(java.lang.String media)
Sets the media that the CSS style information applies to. The following types are currently know to most CSS implementations

Parameters:
media - - the media to use