Compoze Software, Inc.

portlets.compoze.groupware.pref
Class MailPreferences.UnreadStyle

java.lang.Object
  extended byportlets.compoze.groupware.pref.MailPreferences.UnreadStyle
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
MailPreferences

public static class MailPreferences.UnreadStyle
extends java.lang.Object
implements java.io.Serializable

This class represents the unread message display style.

See Also:
Serialized Form

Field Summary
static MailPreferences.UnreadStyle EIGHTH
          This value represents the 'eighth' unread style.
static MailPreferences.UnreadStyle FIFTH
          This value represents the 'fifth' unread style.
static MailPreferences.UnreadStyle FIRST
          This value represents the 'first' unread style.
static MailPreferences.UnreadStyle FOURTH
          This value represents the 'fourth' unread style.
static MailPreferences.UnreadStyle SECOND
          This value represents the 'second' unread style.
static MailPreferences.UnreadStyle SEVENTH
          This value represents the 'seventh' unread style.
static MailPreferences.UnreadStyle SIXTH
          This value represents the 'sixth' unread style.
static MailPreferences.UnreadStyle THIRD
          This value represents the 'third' unread style.
static int VALUE_EIGHTH
          This value represents the 'eighth' unread style.
static int VALUE_FIFTH
          This value represents the 'fifth' unread style.
static int VALUE_FIRST
          This value represents the 'first' unread style.
static int VALUE_FOURTH
          This value represents the 'fourth' unread style.
static int VALUE_SECOND
          This value represents the 'second' unread style.
static int VALUE_SEVENTH
          This value represents the 'seventh' unread style.
static int VALUE_SIXTH
          This value represents the 'sixth' unread style.
static int VALUE_THIRD
          This value represents the 'third' unread style.
 
Method Summary
 boolean equals(java.lang.Object o)
          Checks for equality.
static MailPreferences.UnreadStyle get(int iValue)
          Gets the unread style by the value.
static MailPreferences.UnreadStyle get(java.lang.String sKey)
          Gets the unread style by the key.
 java.lang.String getKey()
          Gets the key (class name) for style.
static java.util.List getStyles()
          Gets the list of unread style objects.
 int getValue()
          Gets the value of the unread style.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VALUE_FIRST

public static final int VALUE_FIRST
This value represents the 'first' unread style.

See Also:
Constant Field Values

VALUE_SECOND

public static final int VALUE_SECOND
This value represents the 'second' unread style.

See Also:
Constant Field Values

VALUE_THIRD

public static final int VALUE_THIRD
This value represents the 'third' unread style.

See Also:
Constant Field Values

VALUE_FOURTH

public static final int VALUE_FOURTH
This value represents the 'fourth' unread style.

See Also:
Constant Field Values

VALUE_FIFTH

public static final int VALUE_FIFTH
This value represents the 'fifth' unread style.

See Also:
Constant Field Values

VALUE_SIXTH

public static final int VALUE_SIXTH
This value represents the 'sixth' unread style.

See Also:
Constant Field Values

VALUE_SEVENTH

public static final int VALUE_SEVENTH
This value represents the 'seventh' unread style.

See Also:
Constant Field Values

VALUE_EIGHTH

public static final int VALUE_EIGHTH
This value represents the 'eighth' unread style.

See Also:
Constant Field Values

FIRST

public static final MailPreferences.UnreadStyle FIRST
This value represents the 'first' unread style.


SECOND

public static final MailPreferences.UnreadStyle SECOND
This value represents the 'second' unread style.


THIRD

public static final MailPreferences.UnreadStyle THIRD
This value represents the 'third' unread style.


FOURTH

public static final MailPreferences.UnreadStyle FOURTH
This value represents the 'fourth' unread style.


FIFTH

public static final MailPreferences.UnreadStyle FIFTH
This value represents the 'fifth' unread style.


SIXTH

public static final MailPreferences.UnreadStyle SIXTH
This value represents the 'sixth' unread style.


SEVENTH

public static final MailPreferences.UnreadStyle SEVENTH
This value represents the 'seventh' unread style.


EIGHTH

public static final MailPreferences.UnreadStyle EIGHTH
This value represents the 'eighth' unread style.

Method Detail

getKey

public java.lang.String getKey()
Gets the key (class name) for style.

Returns:
the key

getValue

public int getValue()
Gets the value of the unread style.

Returns:
the value (see VALUE_ constants)

get

public static MailPreferences.UnreadStyle get(int iValue)
Gets the unread style by the value.

Parameters:
iValue - the value to get by
Returns:
the matching unread style or the default style if not found

get

public static MailPreferences.UnreadStyle get(java.lang.String sKey)
Gets the unread style by the key.

Parameters:
sKey - the key to get by
Returns:
the matching unread style or the default style if not found

getStyles

public static java.util.List getStyles()
Gets the list of unread style objects.

Returns:
the list of UnreadStyle objects (unmodifiable)

equals

public boolean equals(java.lang.Object o)
Checks for equality. The value is used to determine equality.

Parameters:
o - the object to check
Returns:
true if this object has the same value as the argument; false otherwise
See Also:
getValue()

Compoze Software, Inc.

Copyright ©1999-2003 Compoze Software, Inc. All rights reserved.