Created
June 23, 2011 04:16
-
-
Save vabock/1041890 to your computer and use it in GitHub Desktop.
blog貼り付けテスト
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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