com.plumtree.remote.sci
Class TypeStyle

java.lang.Object
  extended bycom.plumtree.remote.sci.TypeStyle

public class TypeStyle
extends java.lang.Object

Type-safe enumeration for text styles (normal or important). Important text is displayed in bold red.


Field Summary
static TypeStyle STYLE_IMPORTANT
          TypeStyle for important text (bold red).
static TypeStyle STYLE_NORMAL
          TypeStyle for normal text.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getCode()
          Gets the internal constant associated with this TypeStyle.
 int hashCode()
           
static TypeStyle parse(java.lang.String val)
          Creates a TypeStyle from a string.
 java.lang.String toString()
          Writes the TypeStyle to a string.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

STYLE_IMPORTANT

public static TypeStyle STYLE_IMPORTANT
TypeStyle for important text (bold red).


STYLE_NORMAL

public static TypeStyle STYLE_NORMAL
TypeStyle for normal text.

Method Detail

getCode

public java.lang.String getCode()
Gets the internal constant associated with this TypeStyle.

Returns:
a string representing the internal constant

parse

public static TypeStyle parse(java.lang.String val)
Creates a TypeStyle from a string.

Parameters:
val - a valid type style
Returns:
the TypeStyle

toString

public java.lang.String toString()
Writes the TypeStyle to a string.

Returns:
a string representing the TypeStyle

equals

public boolean equals(java.lang.Object obj)

hashCode

public int hashCode()


For additional information on the Oracle® WebCenter Interaction Development Kit, including tutorials, blogs, code samples and more, see the Oracle Technology Network (http://www.oracle.com/technology/index.html).

Copyright ©2010 Oracle® Corporation. All Rights Reserved.