www.element4solution.com

e4s.html.style
Class STYLE

java.lang.Object
  extended by e4s.util.E4Object
      extended by e4s.html.style.STYLE

public class STYLE
extends E4Object

Definition for E4CSS Style objects. Contains information about the style-name (@link e4s.html.style.STYLE_Name} and the definition string. The (@link e4s.html.style.STYLE_Name} contains information about the related HTML-tag as well as the class name ((@link e4s.html.style.CLASS_Name}).

Since:
JDK 1.4
See Also:
e4s.html.style.E4CSS#addStyle, e4s.html.style.E4CSS#updateStyle, e4s.html.style.E4CSS#getStyle

Field Summary
 
Fields inherited from class e4s.util.E4Object
CRLF, E4S_CORE_SYSTEM_LANGUAGE, NBSP, NULLSTR, URL_ENCODING_CHARSET
 
Constructor Summary
STYLE(java.lang.String html_tag, CLASS_Name classname, java.lang.String definition)
          Create a style object.
STYLE(STYLE_Name style, java.lang.String definition)
          Create a style object.
 
Method Summary
static java.lang.String _getSVNVersionString()
          Get version info string from subversion.
 java.lang.String getDefinition()
          Get the definition of this style.
 STYLE_Name getName()
          Get the name of this style.
 void setDefinition(java.lang.String definition)
          Set the definition of this style.
 java.lang.String toString()
           
 
Methods inherited from class e4s.util.E4Object
Calendar, CName, CName, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelNone, E4LabelNone, E4LabelNone, E4LabelNone, E4LabelSys, E4LabelSys, e4sCopyright, e4sVersion, encode, encode, encode, encodeHtml, encodeHtml, encodeHtml, encodeURL, encodeURL, encodeURL, finalize, getLINE, getTRACE, getTRACE, getTRACE, getTRACE, getTRACE, getTRACE, getTraceMemory, HtmlEncode, HtmlEncode, HtmlEncode, isdecimal, isdigit, isnotok, isnotok, isnumeric, isok, isok, isok, isok, lastCallingFunction, lastCallingFunction, lastCallingFunction, lastCallingFunction, lastCallingStack, mkdirs, null2nbsp, null2nbsp, null2nbsp, ok, ok, ok, ok, outPrintln, setLogFile4Trace, setTraceMemory, STACKTRACE, toDebug, toDouble, toFloat, toFloat, TRACE_CALLS, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, wait
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

STYLE

public STYLE(STYLE_Name style,
             java.lang.String definition)
Create a style object.

Parameters:
style - the style-name (contains information about the HTML-Tag as well as the class name)
definition - the style definition (setDefinition(java.lang.String)

STYLE

public STYLE(java.lang.String html_tag,
             CLASS_Name classname,
             java.lang.String definition)
Create a style object.

Parameters:
html_tag - the html-tag associated with this style, e.g. "INPUT" - without < >
classname - the class-name for this style, e.g. "MyClass"
definition - the style definition (setDefinition(java.lang.String)
Method Detail

getName

public STYLE_Name getName()
Get the name of this style.

Returns:
the name of this style

getDefinition

public java.lang.String getDefinition()
Get the definition of this style. The definition does not contain any surrounding brakets { }.

Returns:
the definition of this style
See Also:
setDefinition(java.lang.String)

setDefinition

public void setDefinition(java.lang.String definition)
Set the definition of this style. The definition does not contain any surrounding brakets { }.

Parameters:
definition - the definition of this style
See Also:
getDefinition()

toString

public java.lang.String toString()
Overrides:
toString in class E4Object

_getSVNVersionString

public static java.lang.String _getSVNVersionString()
Get version info string from subversion.

Returns:
the version info string.
See Also:
E4Util.getRevisionCodeFromSVN(Class)

www.element4solution.com