+
+ void show() {
+ label.setVisible(true);
+ value.setVisible(true);
+ }
+
+ void show(String s) {
+ show();
+ value.setText(s);
+ }
+
+ void show(AltosUnits units, double v) {
+ show(units.show(8, v));
+ }
+
+ void show(String format, double v) {
+ show(String.format(format, v));
+ }
+
+ void hide() {
+ label.setVisible(false);
+ value.setVisible(false);
+ }
+ void set_font() {
+ label.setFont(Altos.label_font);
+ value.setFont(Altos.value_font);
+ }
+