Package org.cip4.jdflib.extensions
Class ColorIntentHelper
java.lang.Object
org.cip4.jdflib.extensions.BaseXJDFHelper
org.cip4.jdflib.extensions.IntentHelper
org.cip4.jdflib.extensions.ColorIntentHelper
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class org.cip4.jdflib.extensions.IntentHelper
INTENTFields inherited from class org.cip4.jdflib.extensions.BaseXJDFHelper
log, theElement -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCreateSurfaceColor(ColorIntentHelper.EnumSurface front, List<String> surfaceColors) getSurfaceAttribute(ColorIntentHelper.EnumSurface front, String attName) getSurfaceColors(int n) getSurfaceList(ColorIntentHelper.EnumSurface front, String attName) voidsetNumColors(int front, int back) Methods inherited from class org.cip4.jdflib.extensions.IntentHelper
cleanUp, getCreateResource, getIntent, getName, getResource, getSpan, getSpanList, isIntentResource, isSpanAsAttribute, setSpan, setSpan, setSpan, setSpanAsAttribute, toStringMethods inherited from class org.cip4.jdflib.extensions.BaseXJDFHelper
appendElement, appendElement, copyHelper, deleteNode, ensureID, equals, getAttribute, getAttributeMap, getBaseHelper, getBaseHelper, getComment, getCreateElement, getDefaultVersion, getDescriptiveName, getExternalID, getGeneralID, getID, getLocalName, getRoot, getRootDoc, getVersion, getXJDFRoot, getXJMFRoot, getXPathElement, getXPathValue, getXRoot, hasAttribute, hashCode, isEqual, removeAttribute, setAttribute, setAttribute, setComment, setDefaultVersion, setID, setXPathValue
-
Constructor Details
-
ColorIntentHelper
- Parameters:
intent-
-
-
Method Details
-
setNumColors
public void setNumColors(int front, int back) - Parameters:
front-back-
-
getSurfaceColor
-
getSurfaceAttribute
- Parameters:
theside-attNamethe- attribute- Returns:
- the attribute value
-
getSurfaceList
- Parameters:
theside-attNamethe- attribute- Returns:
- the attribute value as a list
-
getCreateSurfaceColor
public KElement getCreateSurfaceColor(ColorIntentHelper.EnumSurface front, List<String> surfaceColors) -
getSurfaceColors
-