java.lang.Object
Creates a new instance of SoftButtonState Note: state names should be different for each SoftButtonObject
public SoftButtonState(String name,String text,SdlArtwork artwork)
Get the state name
public java.lang.String getName()
Set the state name
public void setName(String name)
Get whether or not the button should be highlighted on the UI
public boolean getHighlighted()
Set whether or not the button should be highlighted on the UI
public void setHighlighted(boolean highlighted)
Get whether selecting a SoftButton shall call a specific system action See SystemAction
public com.smartdevicelink.proxy.rpc.enums.SystemAction getSystemAction()
Set whether selecting a SoftButton shall call a specific system action See SystemAction
public void setSystemAction(SystemAction systemAction)
Get the SoftButton for the state
public com.smartdevicelink.proxy.rpc.SoftButton getSoftButton()
Get the Artwork for the state
public SdlArtwork getArtwork()
Used to compile hashcode for SoftButtonState for use to compare in equals method
public int hashCode()
Uses our custom hashCode for SoftButtonState objects
public boolean equals(Object o)
From Class | Methods |
---|---|
java.lang.Object | getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize |