public static enum SoRemoteVizClient.DisplayModes extends java.lang.Enum<SoRemoteVizClient.DisplayModes> implements IntegerValuedEnum
| Enum Constant and Description | 
|---|
CROP
The image is cropped more or less (depending on the container size and the renderArea size) to keep the same scale as the renderArea. 
 | 
FIT
This mode resizes the image to fit the container by keeping the same aspect ratio as the renderArea. 
 | 
STRETCH
Stretches the image to fill the container. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static SoRemoteVizClient.DisplayModes | 
fromValue(int val)
Deprecated. 
 
Use  
valueOf(int) instead. | 
int | 
getValue()
Returns the integer value of the enum constant. 
 | 
static SoRemoteVizClient.DisplayModes | 
valueOf(int val)
Returns the enum constant of this type with the specified integer value 
 | 
static SoRemoteVizClient.DisplayModes | 
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. 
 | 
static SoRemoteVizClient.DisplayModes[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final SoRemoteVizClient.DisplayModes STRETCH
public static final SoRemoteVizClient.DisplayModes CROP
public static final SoRemoteVizClient.DisplayModes FIT
public static SoRemoteVizClient.DisplayModes[] values()
for (SoRemoteVizClient.DisplayModes c : SoRemoteVizClient.DisplayModes.values()) System.out.println(c);
public static SoRemoteVizClient.DisplayModes 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@Deprecated public static SoRemoteVizClient.DisplayModes fromValue(int val)
valueOf(int) instead.public static SoRemoteVizClient.DisplayModes valueOf(int val)
public int getValue()
IntegerValuedEnumgetValue in interface IntegerValuedEnumGenerated on July 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com