public enum DiagramFormat extends Enum<DiagramFormat> implements IEnumValue
Defines various diagram subformats.
Enum Constant and Description |
---|
Unknown
The format is not recognized.
|
Vdx
Represents the .VDX Visio format.
|
Vsd
Represents the .VSD Visio format.
|
Vsdx
Represents the .VSDX Visio format.
|
Vss
Represents the .VSS Visio format.
|
Vsx
Represents the .VSX Visio format.
|
Modifier and Type | Method and Description |
---|---|
Object[] |
getAllValues()
Returns the array of all values defined in the class.
|
static DiagramFormat |
getByRawValue(int rawValue) |
IEnumValue |
getEnumValueByName(String name)
Returns the enumeration value by its name.
|
IEnumValue |
getEnumValueByRawValue(int rawValue)
Returns the enumeration value by the raw value associated with it.
|
static IEnumValue |
getFirst() |
int |
getRawValue()
Returns the raw value of this enumeration value.
|
RawIntegerType |
getRawValueType()
Returns the underlying type of the raw value of this enumeration value.
|
static DiagramFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DiagramFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
name
public static final DiagramFormat Unknown
The format is not recognized.
public static final DiagramFormat Vdx
Represents the .VDX Visio format.
Any drawing or chart created in Microsoft Visio, but saved in XML format have .VDX extension.
A Visio drawing XML file is created in Visio software, which is developed by Microsoft.
Learn more about this file format <a target="_blank" href="https://wiki.fileformat.com/image/vdx/">here</a>
.
public static final DiagramFormat Vsd
Represents the .VSD Visio format.
VSD files are drawings created with Microsoft Visio application to represent variety of graphical objects and the interconnection between these.
Such drawings can contain visual objects such as visual objects, flow charts, UML diagram, information flow, organizational charts,
software diagrams, network layout, database models, objects mapping and other similar information.
Learn more about this file format <a target="_blank" href="https://wiki.fileformat.com/image/vsd/">here</a>
.
public static final DiagramFormat Vsdx
Represents the .VSDX Visio format.
Files with .VSDX extension represent Microsoft Visio file format introduced from Microsoft Office 2013 onwards.
It was developed to replace the binary file format, .VSD, which is supported by earlier versions of Microsoft Visio.
Learn more about this file format <a target="_blank" href="https://wiki.fileformat.com/image/vsdx/">here</a>
.
public static final DiagramFormat Vss
Represents the .VSS Visio format.
VSS are stencil files created with Microsoft Visio 2007 and earlier.
A relatively new file format is .VSSX that was introduced with Microsoft Visio 2013. Stencil files provide drawing objects that can be included in a .VSD Visio drawing.
Learn more about this file format <a target="_blank" href="https://wiki.fileformat.com/image/vss/">here</a>
.
public static final DiagramFormat Vsx
Represents the .VSX Visio format.
Files with .VSX extension refer to stencils that consist of drawings and shapes that are used for creating diagrams in Microsoft Visio.
VSX files are saved in XML file format and was supported till Visio 2013.
Learn more about this file format <a target="_blank" href="https://wiki.fileformat.com/image/vsx/">here</a>
.
public static DiagramFormat[] values()
for (DiagramFormat c : DiagramFormat.values()) System.out.println(c);
public static DiagramFormat 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 static DiagramFormat getByRawValue(int rawValue)
public static IEnumValue getFirst()
public Object[] getAllValues()
IEnumValue
Returns the array of all values defined in the class.
getAllValues
in interface IEnumValue
public IEnumValue getEnumValueByRawValue(int rawValue)
IEnumValue
Returns the enumeration value by the raw value associated with it.
getEnumValueByRawValue
in interface IEnumValue
rawValue
- The raw value.public IEnumValue getEnumValueByName(String name)
IEnumValue
Returns the enumeration value by its name.
getEnumValueByName
in interface IEnumValue
name
- The name of the enumeration value.public RawIntegerType getRawValueType()
IEnumValue
Returns the underlying type of the raw value of this enumeration value.
getRawValueType
in interface IEnumValue
public int getRawValue()
IEnumValue
Returns the raw value of this enumeration value.
getRawValue
in interface IEnumValue