22 package com.realtime.crossfire.jxclient.gui.gauge;
24 import org.jetbrains.annotations.NotNull;
46 if (name.equals(
"EW")) {
49 if (name.equals(
"NS")) {
52 if (name.equals(
"SN")) {
55 if (name.equals(
"WE")) {
58 throw new IllegalArgumentException(
"invalid orientation '"+name+
"'");
Implements an Orientation which grows west to east.
Interface for orientation images.
Implements an Orientation which grows north to south.
Utility class to parse orientation names.
static Orientation parseOrientation(@NotNull final String name)
Converts an orientation name into an Orientation instance.
OrientationParser()
Private constructor to prevent instantiation.
Implements an Orientation which grows south to north.
Implements an Orientation which grows east to west.