public enum Justification extends Enum<Justification>
Module: presentation-api
To use this in your app, include the following dependency in your POM:
<dependency>
<groupId>org.cytoscape</groupId>
<artifactId>presentation-api</artifactId>
</dependency>| Enum Constant and Description |
|---|
JUSTIFY_CENTER |
JUSTIFY_LEFT |
JUSTIFY_RIGHT |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Return the display name of this justification type.
|
static String[] |
getNames()
Return the display names for all of the Justifcation values
|
String |
getShortName()
Return the short name of this justification type
|
static Justification |
parse(String value)
Parse a string that contains either the short name or
the display name for a justifcation and return the
corresponding enum value
|
static Justification |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Justification[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Justification JUSTIFY_CENTER
public static final Justification JUSTIFY_LEFT
public static final Justification JUSTIFY_RIGHT
public static Justification[] values()
for (Justification c : Justification.values()) System.out.println(c);
public static Justification 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 getName()
public String getShortName()
public static Justification parse(String value)
value - the String containing the text to be parsedpublic static String[] getNames()
Copyright 2011-2015 Cytoscape Consortium. All rights reserved.