public class ButtonRecord extends Object implements IDataType
A one-to-one relationship does not exist between button records and button states. A single button record can apply to more than one button state (by setting multiple ButtonState flags), and multiple button records can be present for any button state.
Each button record also includes a transformation matrix and depth (stacking-order) information. These apply just as in a PlaceObject tag, except that both pieces of information are relative to the button character itself.
Constructor and Description |
---|
ButtonRecord() |
Modifier and Type | Method and Description |
---|---|
int |
getBlendMode() |
int |
getCharacterID() |
CXFormWithAlpha |
getColorTransform() |
Filter[] |
getFilterList() |
int |
getPlaceDepth() |
Matrix |
getPlaceMatrix() |
boolean |
isHasBlendMode() |
boolean |
isHasFilterList() |
boolean |
isStateDown() |
boolean |
isStateHitTest() |
boolean |
isStateOver() |
boolean |
isStateUp() |
void |
setBlendMode(int blendMode) |
void |
setCharacterID(int characterID) |
void |
setColorTransform(CXFormWithAlpha colorTransform) |
void |
setFilterList(Filter[] filterList) |
void |
setHasBlendMode(boolean hasBlendMode) |
void |
setHasFilterList(boolean hasFilterList) |
void |
setPlaceDepth(int placeDepth) |
void |
setPlaceMatrix(Matrix placeMatrix) |
void |
setStateDown(boolean stateDown) |
void |
setStateHitTest(boolean stateHitTest) |
void |
setStateOver(boolean stateOver) |
void |
setStateUp(boolean stateUp) |
public boolean isHasBlendMode()
public void setHasBlendMode(boolean hasBlendMode)
hasBlendMode
- the hasBlendMode to setpublic boolean isHasFilterList()
public void setHasFilterList(boolean hasFilterList)
hasFilterList
- the hasFilterList to setpublic boolean isStateHitTest()
public void setStateHitTest(boolean stateHitTest)
stateHitTest
- the stateHitTest to setpublic boolean isStateDown()
public void setStateDown(boolean stateDown)
stateDown
- the stateDown to setpublic boolean isStateOver()
public void setStateOver(boolean stateOver)
stateOver
- the stateOver to setpublic boolean isStateUp()
public void setStateUp(boolean stateUp)
stateUp
- the stateUp to setpublic int getCharacterID()
public void setCharacterID(int characterID)
characterID
- the characterID to setpublic int getPlaceDepth()
public void setPlaceDepth(int placeDepth)
placeDepth
- the placeDepth to setpublic Matrix getPlaceMatrix()
public void setPlaceMatrix(Matrix placeMatrix)
placeMatrix
- the placeMatrix to setpublic CXFormWithAlpha getColorTransform()
public void setColorTransform(CXFormWithAlpha colorTransform)
colorTransform
- the colorTransform to setpublic Filter[] getFilterList()
public void setFilterList(Filter[] filterList)
filterList
- the filterList to setpublic int getBlendMode()
public void setBlendMode(int blendMode)
blendMode
- the blendMode to setCopyright © 2016 The Apache Software Foundation. All rights reserved.