com.atlassian.confluence.pageobjects.component.editor
Enum ImagePropertyPanel.ImageSize

java.lang.Object
  extended by java.lang.Enum<ImagePropertyPanel.ImageSize>
      extended by com.atlassian.confluence.pageobjects.component.editor.ImagePropertyPanel.ImageSize
All Implemented Interfaces:
Serializable, Comparable<ImagePropertyPanel.ImageSize>
Enclosing class:
ImagePropertyPanel

public static enum ImagePropertyPanel.ImageSize
extends Enum<ImagePropertyPanel.ImageSize>


Enum Constant Summary
HEIGHT_LARGE
           
HEIGHT_MEDIUM
           
HEIGHT_SMALL
           
LARGE
           
MEDIUM
           
SMALL
           
 
Method Summary
 int getPixels()
           
static ImagePropertyPanel.ImageSize valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ImagePropertyPanel.ImageSize[] 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

SMALL

public static final ImagePropertyPanel.ImageSize SMALL

MEDIUM

public static final ImagePropertyPanel.ImageSize MEDIUM

LARGE

public static final ImagePropertyPanel.ImageSize LARGE

HEIGHT_SMALL

public static final ImagePropertyPanel.ImageSize HEIGHT_SMALL

HEIGHT_MEDIUM

public static final ImagePropertyPanel.ImageSize HEIGHT_MEDIUM

HEIGHT_LARGE

public static final ImagePropertyPanel.ImageSize HEIGHT_LARGE
Method Detail

values

public static ImagePropertyPanel.ImageSize[] 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 (ImagePropertyPanel.ImageSize c : ImagePropertyPanel.ImageSize.values())
    System.out.println(c);

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

valueOf

public static ImagePropertyPanel.ImageSize 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
NullPointerException - if the argument is null

getPixels

public int getPixels()


Copyright © 2003–2015 Atlassian. All rights reserved.