Class SoFontNameElement
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.elements.SoElement
-
- com.openinventor.inventor.elements.SoReplacedElement
-
- com.openinventor.inventor.elements.SoFontNameElement
-
public class SoFontNameElement extends SoReplacedElement
Stores the current font name. Default font name is setup at startup by OIV_FONT_NAME environement variable if defined.This element stores the current font name.
- See Also:
SoFont
,SoFontStyle
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
-
Field Summary
-
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static java.lang.String
get(SoState state)
Returns the current font name from the state.static int
getClassStackIndex()
Deprecated.As of Open Inventor 9.3.0.0.static java.lang.String
getDefault()
Returns the default font name.static void
set(SoState state, SoNode node, java.lang.String fontName)
Sets the current font name.-
Methods inherited from class com.openinventor.inventor.elements.SoElement
getClassStackIndex, pop, push
-
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
-
-
-
Method Detail
-
getClassStackIndex
@Deprecated(since="9.3.0.0") public static int getClassStackIndex()
Deprecated.As of Open Inventor 9.3.0.0. replaced by SoElement.getClassStackIndex(Class)Returns the stack id for this element. ] *
-
getDefault
public static java.lang.String getDefault()
Returns the default font name.
-
get
public static java.lang.String get(SoState state)
Returns the current font name from the state.
-
-