public enum JIPipeGraphViewMode extends Enum<JIPipeGraphViewMode>
Enum Constant and Description |
---|
Horizontal |
Vertical |
VerticalCompact |
Modifier and Type | Method and Description |
---|---|
int |
getGridHeight() |
int |
getGridWidth() |
Point |
gridToRealLocation(Point gridLocation,
double zoom) |
Dimension |
gridToRealSize(Dimension gridSize,
double zoom) |
Point |
realLocationToGrid(Point location,
double zoom) |
String |
toString() |
static JIPipeGraphViewMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JIPipeGraphViewMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JIPipeGraphViewMode Horizontal
public static final JIPipeGraphViewMode Vertical
public static final JIPipeGraphViewMode VerticalCompact
public static JIPipeGraphViewMode[] values()
for (JIPipeGraphViewMode c : JIPipeGraphViewMode.values()) System.out.println(c);
public static JIPipeGraphViewMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getGridWidth()
public int getGridHeight()
public String toString()
toString
in class Enum<JIPipeGraphViewMode>
Copyright © 2020–2022 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.