Class NodeStyle
java.lang.Object
dev.prozilla.pine.core.component.Component
dev.prozilla.pine.core.component.ui.style.NodeStyleBase
dev.prozilla.pine.core.component.ui.style.NodeStyle
- All Implemented Interfaces:
Destructible,Printable,ApplicationContext,ApplicationProvider,ComponentsContext,ComponentsProvider,EntityContext,EntityProvider,SceneContext,SceneProvider
A component that applies styles to nodes.
-
Field Summary
Fields inherited from class dev.prozilla.pine.core.component.ui.style.NodeStyleBase
node -
Constructor Summary
ConstructorsConstructorDescriptionNodeStyle(AnimationData animationData, Node node) NodeStyle(AnimationData animationData, Node node, StyleSheet styleSheet) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyStyleSheet(StyleSheet styleSheet) voidsetAnchorProperty(StyledGridAlignmentProperty anchorProperty) voidsetBackgroundColorProperty(StyledColorProperty backgroundColorProperty) voidsetColorProperty(StyledColorProperty colorProperty) voidsetMarginProperty(StyledDualDimensionProperty marginProperty) voidsetPaddingProperty(StyledDualDimensionProperty paddingProperty) voidsetSizeProperty(StyledDualDimensionProperty sizeProperty) Methods inherited from class dev.prozilla.pine.core.component.ui.style.NodeStyleBase
changePropertyMethods inherited from class dev.prozilla.pine.core.component.Component
destroy, equals, getApplication, getEntity, getName, getScene, hashCode, setActive, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface dev.prozilla.pine.core.ApplicationProvider
getAudioDevice, getConfig, getInput, getLogger, getModManager, getRenderer, getTimer, getTracker, getWindowMethods inherited from interface dev.prozilla.pine.core.component.ComponentsProvider
getComponent, getComponentInParent, getComponentInParent, getComponents, getComponentsInChildrenMethods inherited from interface dev.prozilla.pine.core.entity.EntityContext
isDescendantOfMethods inherited from interface dev.prozilla.pine.core.entity.EntityProvider
getChildWithTag, getFirstChild, getLastChild, getParentWithTag, getTransform, isDescendantOfMethods inherited from interface dev.prozilla.pine.core.scene.SceneProvider
getCameraData, getWorld
-
Constructor Details
-
NodeStyle
-
NodeStyle
-
-
Method Details
-
applyStyleSheet
-
getColorProperty
-
setColorProperty
-
getBackgroundColorProperty
-
setBackgroundColorProperty
-
getSizeProperty
-
setSizeProperty
-
getPaddingProperty
-
setPaddingProperty
-
getMarginProperty
-
setMarginProperty
-
getAnchorProperty
-
setAnchorProperty
-