projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altosui: Allow TM config connection to be canceled.
[fw/altos]
/
altosui
/
AltosDescent.java
diff --git
a/altosui/AltosDescent.java
b/altosui/AltosDescent.java
index 594a7a09bb68cc71e9fd025b93134439fb434e94..addd687810e4622352df37c3ad987a70b6791a69 100644
(file)
--- a/
altosui/AltosDescent.java
+++ b/
altosui/AltosDescent.java
@@
-39,15
+39,15
@@
public class AltosDescent extends JComponent implements AltosFlightDisplay {
abstract void show(AltosState state, int crc_errors);
void show() {
abstract void show(AltosState state, int crc_errors);
void show() {
- label.s
how(
);
- value.s
how(
);
- lights.s
how(
);
+ label.s
etVisible(true
);
+ value.s
etVisible(true
);
+ lights.s
etVisible(true
);
}
void hide() {
}
void hide() {
- label.
hide(
);
- value.
hide(
);
- lights.
hide(
);
+ label.
setVisible(false
);
+ value.
setVisible(false
);
+ lights.
setVisible(false
);
}
void reset() {
}
void reset() {
@@
-104,13
+104,13
@@
public class AltosDescent extends JComponent implements AltosFlightDisplay {
abstract void show(AltosState state, int crc_errors);
void show() {
abstract void show(AltosState state, int crc_errors);
void show() {
- label.s
how(
);
- value.s
how(
);
+ label.s
etVisible(true
);
+ value.s
etVisible(true
);
}
void hide() {
}
void hide() {
- label.
hide(
);
- value.
hide(
);
+ label.
setVisible(false
);
+ value.
setVisible(false
);
}
void show(String format, double v) {
}
void show(String format, double v) {
@@
-158,15
+158,15
@@
public class AltosDescent extends JComponent implements AltosFlightDisplay {
}
void show() {
}
void show() {
- label.s
how(
);
- value1.s
how(
);
- value2.s
how(
);
+ label.s
etVisible(true
);
+ value1.s
etVisible(true
);
+ value2.s
etVisible(true
);
}
void hide() {
}
void hide() {
- label.
hide(
);
- value1.
hide(
);
- value2.
hide(
);
+ label.
setVisible(false
);
+ value1.
setVisible(false
);
+ value2.
setVisible(false
);
}
abstract void show(AltosState state, int crc_errors);
}
abstract void show(AltosState state, int crc_errors);