Skip navigation links

Oracle Outside In Java API Reference
8.5.4

E91699-01


com.oracle.outsidein.options
Enum MarginText.Location

java.lang.Object
  extended by java.lang.Enum<MarginText.Location>
      extended by com.oracle.outsidein.options.MarginText.Location

All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<MarginText.Location>
Enclosing class:
MarginText

public static enum MarginText.Location
extends java.lang.Enum<MarginText.Location>

Enumeration of possible locations for placing text


Enum Constant Summary
BOTTOMCENTERLINE1
          Text location is Bottom Center Line 1
BOTTOMCENTERLINE2
          Text location is Bottom Center Line 2
BOTTOMCENTERLINE3
          Text location is Bottom Center Line 3
BOTTOMLEFTLINE1
          Text location is Bottom Left Line 1
BOTTOMLEFTLINE2
          Text location is Bottom Left Line 2
BOTTOMLEFTLINE3
          Text location is Bottom Left Line 3
BOTTOMRIGHTLINE1
          Text location is Bottom Right Line 1
BOTTOMRIGHTLINE2
          Text location is Bottom Right Line 2
BOTTOMRIGHTLINE3
          Text location is Bottom Right Line 3
TOPCENTERLINE1
          Text location is Top Center Line 1
TOPCENTERLINE2
          Text location is Top Center Line 2
TOPCENTERLINE3
          Text location is Top Center Line 3
TOPLEFTLINE1
          Text location is Top Left Line 1
TOPLEFTLINE2
          Text location is Top Left Line 2
TOPLEFTLINE3
          Text location is Top Left Line 3
TOPRIGHTLINE1
          Text location is Top Right Line 1
TOPRIGHTLINE2
          Text location is Top Right Line 2
TOPRIGHTLINE3
          Text location is Top Right Line 3

 

Method Summary
static MarginText.Location valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static MarginText.Location[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.

 

Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

 

Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait

 

Enum Constant Detail

TOPLEFTLINE1

public static final MarginText.Location TOPLEFTLINE1
Text location is Top Left Line 1

TOPLEFTLINE2

public static final MarginText.Location TOPLEFTLINE2
Text location is Top Left Line 2

TOPLEFTLINE3

public static final MarginText.Location TOPLEFTLINE3
Text location is Top Left Line 3

TOPCENTERLINE1

public static final MarginText.Location TOPCENTERLINE1
Text location is Top Center Line 1

TOPCENTERLINE2

public static final MarginText.Location TOPCENTERLINE2
Text location is Top Center Line 2

TOPCENTERLINE3

public static final MarginText.Location TOPCENTERLINE3
Text location is Top Center Line 3

TOPRIGHTLINE1

public static final MarginText.Location TOPRIGHTLINE1
Text location is Top Right Line 1

TOPRIGHTLINE2

public static final MarginText.Location TOPRIGHTLINE2
Text location is Top Right Line 2

TOPRIGHTLINE3

public static final MarginText.Location TOPRIGHTLINE3
Text location is Top Right Line 3

BOTTOMLEFTLINE1

public static final MarginText.Location BOTTOMLEFTLINE1
Text location is Bottom Left Line 1

BOTTOMLEFTLINE2

public static final MarginText.Location BOTTOMLEFTLINE2
Text location is Bottom Left Line 2

BOTTOMLEFTLINE3

public static final MarginText.Location BOTTOMLEFTLINE3
Text location is Bottom Left Line 3

BOTTOMCENTERLINE1

public static final MarginText.Location BOTTOMCENTERLINE1
Text location is Bottom Center Line 1

BOTTOMCENTERLINE2

public static final MarginText.Location BOTTOMCENTERLINE2
Text location is Bottom Center Line 2

BOTTOMCENTERLINE3

public static final MarginText.Location BOTTOMCENTERLINE3
Text location is Bottom Center Line 3

BOTTOMRIGHTLINE1

public static final MarginText.Location BOTTOMRIGHTLINE1
Text location is Bottom Right Line 1

BOTTOMRIGHTLINE2

public static final MarginText.Location BOTTOMRIGHTLINE2
Text location is Bottom Right Line 2

BOTTOMRIGHTLINE3

public static final MarginText.Location BOTTOMRIGHTLINE3
Text location is Bottom Right Line 3

Method Detail

values

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

valueOf

public static MarginText.Location valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

Skip navigation links

Oracle Outside In Java API Reference
8.5.4

E91699-01


Copyright © 2010, 2018, Oracle and/or its affiliates. All rights reserved.