|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Photo.Allowed>
org.jickr.Photo.Allowed
public static enum Photo.Allowed
List of possible permissions allowed for a Photo. Used to set permissions in Photo.setPerms()
Photo.setPerms(boolean,boolean,boolean,Allowed,Allowed)
Enum Constant Summary | |
---|---|
CONTACTS
Allow contacts to set this data. |
|
EVERYONE
Allow the public to set this data. |
|
FRIENDSANDFAMILY
Allow friends and family to set this data. |
|
NOBODY
Allow noone to set this data. |
Method Summary | |
---|---|
static Photo.Allowed |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Photo.Allowed[] |
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 |
---|
public static final Photo.Allowed NOBODY
public static final Photo.Allowed FRIENDSANDFAMILY
public static final Photo.Allowed CONTACTS
public static final Photo.Allowed EVERYONE
Method Detail |
---|
public static final Photo.Allowed[] values()
for(Photo.Allowed c : Photo.Allowed.values()) System.out.println(c);
public static Photo.Allowed valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |