Ref
class Ref
Summary
Public functions |
|
|---|---|
java-static Unit |
addStringToReferences(str: String!, refs: ArrayList<Ref!>!)Add references in a String representation to a Ref ArrayList Used to add the Ref(s) property in the Config to references |
String! |
getId()Get the Id of the reference |
Float |
Get the postMargin of the reference |
Float |
Get the preMargin of the reference |
Float |
Get the weight of the reference |
java-static Float |
parseFloat(obj: Any!)Try to parse an object into a float number |
java-static Ref! |
parseStringToRef(str: String!) |
Unit |
Set the Id of the reference |
Unit |
setPostMargin(postMargin: Float)Set the postMargin of the reference |
Unit |
setPreMargin(preMargin: Float)Set the preMargin of the reference |
Unit |
Set the weight of the reference |
String! |
toString() |
Public functions
addStringToReferences
java-static fun addStringToReferences(str: String!, refs: ArrayList<Ref!>!): Unit
Add references in a String representation to a Ref ArrayList Used to add the Ref(s) property in the Config to references
getId
fun getId(): String!
Get the Id of the reference
| Returns | |
|---|---|
String! |
the Id of the reference |
getPostMargin
fun getPostMargin(): Float
Get the postMargin of the reference
| Returns | |
|---|---|
Float |
the preMargin of the reference |
getPreMargin
fun getPreMargin(): Float
Get the preMargin of the reference
| Returns | |
|---|---|
Float |
the preMargin of the reference |
getWeight
fun getWeight(): Float
Get the weight of the reference
| Returns | |
|---|---|
Float |
the weight of the reference |
parseFloat
java-static fun parseFloat(obj: Any!): Float
Try to parse an object into a float number
| Parameters | |
|---|---|
obj: Any! |
object to be parsed |
| Returns | |
|---|---|
Float |
a number |
setId
fun setId(id: String!): Unit
Set the Id of the reference
| Parameters | |
|---|---|
id: String! |
setPostMargin
fun setPostMargin(postMargin: Float): Unit
Set the postMargin of the reference
| Parameters | |
|---|---|
postMargin: Float |
setPreMargin
fun setPreMargin(preMargin: Float): Unit
Set the preMargin of the reference
| Parameters | |
|---|---|
preMargin: Float |