Enum LinkDirection
- java.lang.Object
- 
- java.lang.Enum<LinkDirection>
- 
- com.inductiveautomation.sfc.uimodel.LinkDirection
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- java.lang.Comparable<LinkDirection>
 
 public enum LinkDirection extends java.lang.Enum<LinkDirection> 
- 
- 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanexists()!Nonebooleanin()Any || InLinkDirectionopposite()Returns the opposing direction: opposite(None)=None opposite(In)=Out opposite(Out)=In opposite(Any)=Anybooleanout()Any || outstatic LinkDirectionvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static LinkDirection[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
Nonepublic static final LinkDirection None 
 - 
Inpublic static final LinkDirection In 
 - 
Outpublic static final LinkDirection Out 
 - 
Anypublic static final LinkDirection Any 
 
- 
 - 
Method Detail- 
valuespublic static LinkDirection[] values() Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (LinkDirection c : LinkDirection.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static LinkDirection valueOf(java.lang.String name) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- java.lang.IllegalArgumentException- if this enum type has no constant with the specified name
- java.lang.NullPointerException- if the argument is null
 
 - 
existspublic boolean exists() !None
 - 
outpublic boolean out() Any || out
 - 
inpublic boolean in() Any || In
 - 
oppositepublic LinkDirection opposite() Returns the opposing direction:- opposite(None)=None
- opposite(In)=Out
- opposite(Out)=In
- opposite(Any)=Any
 
 
- 
 
-