|
org.netbeans.api.visual 2.23.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ScenePrinter.ScaleStrategy>
org.netbeans.api.visual.print.ScenePrinter.ScaleStrategy
public static enum ScenePrinter.ScaleStrategy
Scaling strategies to be used for printing a scene.
Enum Constant Summary | |
---|---|
NO_SCALING
Print the Scene exactly as it would be if not scaled at all. |
|
SCALE_CURRENT_ZOOM
Scale the printed scene to exactly the same scale level as the supplied scene. |
|
SCALE_PERCENT
Scale the printed scene by a supplied percent. |
|
SCALE_TO_FIT
Scale the printed scene to fit on a single page |
|
SCALE_TO_FIT_X
Determine the scale percentage necessay to fit on the horizontal page. |
|
SCALE_TO_FIT_Y
Determine the scale percentage necessay to fit on the vertical page. |
Method Summary | |
---|---|
static ScenePrinter.ScaleStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ScenePrinter.ScaleStrategy[] |
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 |
---|
public static final ScenePrinter.ScaleStrategy SCALE_CURRENT_ZOOM
public static final ScenePrinter.ScaleStrategy SCALE_PERCENT
public static final ScenePrinter.ScaleStrategy SCALE_TO_FIT
public static final ScenePrinter.ScaleStrategy SCALE_TO_FIT_X
public static final ScenePrinter.ScaleStrategy SCALE_TO_FIT_Y
public static final ScenePrinter.ScaleStrategy NO_SCALING
Method Detail |
---|
public static ScenePrinter.ScaleStrategy[] values()
for (ScenePrinter.ScaleStrategy c : ScenePrinter.ScaleStrategy.values()) System.out.println(c);
public static ScenePrinter.ScaleStrategy valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
org.netbeans.api.visual 2.23.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |