# NOT RUN {
# --- method initialize
new("Label", x = 10)
# --- constructor
label(text = "bonjour")
label(text = "Male", x = "28%", y = "97%")
# --- update property 'bold'
setBold(.Object = label(), bold = TRUE)
# --- update 'text'
setText(.Object = label(), text = "Bonjour")
# --- update 'x'
setX(.Object = label(), x = 16)
# --- update 'y'
setY(.Object = label(), y = 16)
# }
Run the code above in your browser using DataLab