コード例 #1
0
 @Override
 protected void layoutChildren(final double x, final double y, final double w, final double h) {
   if (spinner != null && getSkinnable().isIndeterminate()) {
     spinner.layoutChildren();
     spinner.resizeRelocate(0, 0, w, h);
   } else if (determinateIndicator != null) {
     determinateIndicator.layoutChildren();
     determinateIndicator.resizeRelocate(0, 0, w, h);
   }
 }
コード例 #2
0
 @Override
 protected void invalidated() {
   if (spinner != null) {
     spinner.setFillOverride(get());
   }
   if (determinateIndicator != null) {
     determinateIndicator.setFillOverride(get());
   }
 }