Package Functions | |
void | renderMessage (MarkupWriter writer) |
Definition at line 10 of file DisplayYAxisProperties.java.
void renderMessage | ( | MarkupWriter | writer | ) | [package] |
Definition at line 13 of file DisplayYAxisProperties.java.
00013 { 00014 00015 if (_yaxis != null) { 00016 00017 // next the properties 00018 for ( Property prop: _yaxis.getProperties() ){ 00019 writer.write( prop.getName() + " : "); 00020 if (prop.getLowValue() != null && prop.getHighValue() != null && 00021 prop.getLowValue().equals(prop.getHighValue())) { 00022 writer.write(prop.getLowValue().toString()); 00023 } 00024 else{writer.write(prop.getLowValue().toString() + " TO " + prop.getHighValue().toString());} 00025 if (!prop.getUnit().toString().equals("num")){ 00026 writer.write(" " + prop.getUnit().toString()); 00027 } 00028 } 00029 } 00030 }