public enum ProportionalResizeMode extends java.lang.Enum<ProportionalResizeMode> implements ValueEnum
| Enum Constant and Description | 
|---|
| ALWAYSproportional resizing is always used | 
| MODIFIERproportional resize is off by default, but holding down one of the  Canvas.proportionalResizeModifiersturns proportional
 resize on for a given resize interaction | 
| MODIFIER_OFFproportional resize is on by default, but holding down one of the  Canvas.proportionalResizeModifiersturns proportional
 resize off for a given resize interaction | 
| NONEproportional resizing is never used | 
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.String | getValue() | 
| static ProportionalResizeMode | valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. | 
| static ProportionalResizeMode[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final ProportionalResizeMode NONE
 If this enumerated value is used in a Component XML
 file or server-side DataSource descriptor (.ds.xml file), use the value "none".
public static final ProportionalResizeMode ALWAYS
 If this enumerated value is used in a Component XML
 file or server-side DataSource descriptor (.ds.xml file), use the value "always".
public static final ProportionalResizeMode MODIFIER
Canvas.proportionalResizeModifiers turns proportional
 resize on for a given resize interaction
 
 If this enumerated value is used in a Component XML
 file or server-side DataSource descriptor (.ds.xml file), use the value "modifier".
public static final ProportionalResizeMode MODIFIER_OFF
Canvas.proportionalResizeModifiers turns proportional
 resize off for a given resize interaction
 
 If this enumerated value is used in a Component XML
 file or server-side DataSource descriptor (.ds.xml file), use the value "modifierOff".
public static ProportionalResizeMode[] values()
for (ProportionalResizeMode c : ProportionalResizeMode.values()) System.out.println(c);
public static ProportionalResizeMode 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 namejava.lang.NullPointerException - if the argument is null