de.espirit.firstspirit.ui.gadgets.aspects
Enum Mark

java.lang.Object
  extended by java.lang.Enum<Mark>
      extended by de.espirit.firstspirit.ui.gadgets.aspects.Mark
All Implemented Interfaces:
Serializable, Comparable<Mark>

public enum Mark
extends Enum<Mark>

The kinds of marks.

Since:
4.2.405

Enum Constant Summary
CHANGED
          Mark for a gadget whose value has changed compared to some reference value.
DEFAULT_VALUE
          Mark for a gadget being set to default.
DELETED
          Mark for a gadget whose value is deleted compared to some reference value.
FOCUS
          Mark for a gadget being focussed.
INSERTED
          Mark for a gadget whose value was inserted compared to some reference value.
INVALID_VALUE
          Mark for a gadget not having a valid value wrt. validation rules.
MATCH
          Mark for a gadget that has matches wrt. a search request.
 
Method Summary
 Color getBorderColor()
          Provides the color to be used for markup.
 int getBorderThickness()
          Provides the thickness to be used for markup.
static Mark valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Mark[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

FOCUS

public static final Mark FOCUS
Mark for a gadget being focussed.

Since:
4.2.405

MATCH

public static final Mark MATCH
Mark for a gadget that has matches wrt. a search request.

Since:
4.2.405

DEFAULT_VALUE

public static final Mark DEFAULT_VALUE
Mark for a gadget being set to default.

Since:
4.2.405

INVALID_VALUE

public static final Mark INVALID_VALUE
Mark for a gadget not having a valid value wrt. validation rules.

Since:
4.2.405

INSERTED

public static final Mark INSERTED
Mark for a gadget whose value was inserted compared to some reference value.

Since:
4.2.405

DELETED

public static final Mark DELETED
Mark for a gadget whose value is deleted compared to some reference value.

Since:
4.2.405

CHANGED

public static final Mark CHANGED
Mark for a gadget whose value has changed compared to some reference value.

Since:
4.2.405
Method Detail

values

public static final Mark[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(Mark c : Mark.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static Mark valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name

getBorderColor

@NotNull
public Color getBorderColor()
Provides the color to be used for markup.

Returns:
The markup color.
Since:
4.2.405

getBorderThickness

public int getBorderThickness()
Provides the thickness to be used for markup.

Returns:
The markup's thickness.
Since:
4.2.405


Copyright © 2012 e-Spirit AG. All Rights Reserved. Build 4.2.480