DisplayYAxisProperties Class Reference

List of all members.


Package Functions

void renderMessage (MarkupWriter writer)

Detailed Description

Definition at line 10 of file DisplayYAxisProperties.java.


Member Function Documentation

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     }            


The documentation for this class was generated from the following file:


Generated on Tue Apr 21 15:55:02 2009 for HepData Web servlets by  doxygen 1.5.5