public enum PollVoteVisibility extends Enum<PollVoteVisibility> implements I18nAble
| Enum Constant and Description |
|---|
CREATOR_ONLY
Only creator (or Pollen adin) can see votes.
|
EVERYBODY
Every body can see votes.
|
NOBODY
Nobody can see vote.
|
PARTICIPANT_ONLY
Only participant of poll can see votes.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getI18nHelpKey() |
String |
getI18nKey() |
static PollVoteVisibility |
valueOf(int ordinal) |
static PollVoteVisibility |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PollVoteVisibility[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PollVoteVisibility NOBODY
public static final PollVoteVisibility CREATOR_ONLY
public static final PollVoteVisibility PARTICIPANT_ONLY
public static final PollVoteVisibility EVERYBODY
public static PollVoteVisibility[] values()
for (PollVoteVisibility c : PollVoteVisibility.values()) System.out.println(c);
public static PollVoteVisibility valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getI18nKey()
getI18nKey in interface I18nAblepublic String getI18nHelpKey()
public static PollVoteVisibility valueOf(int ordinal)
Copyright © 2009–2014 CodeLutin. All rights reserved.