Skip to content

Instantly share code, notes, and snippets.

@vabock
Created June 23, 2011 04:16
Show Gist options
  • Save vabock/1041890 to your computer and use it in GitHub Desktop.
Save vabock/1041890 to your computer and use it in GitHub Desktop.
blog貼り付けテスト
class TaskProgressRenderer extends Table.AbstractRenderer[Number, ProgressBar](new ProgressBar) {
def configure(table: Table, isSelected: Boolean, hasFocus: Boolean, a: Number, row: Int, column: Int) {
component.value = a.intValue()
}
override def preConfigure(table: Table, isSelected: Boolean, hasFocus: Boolean, a: Number, row: Int, column: Int) {
component.min = 0
component.max = 100
component.labelPainted = true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment