File | Line |
---|
org/diyefi/openlogviewer/graphing/GraphPositionPanel.java | 96 |
org/diyefi/openlogviewer/graphing/GraphPositionPanel.java | 144 |
private void paintPositionBar(final Graphics2D g2d, final boolean zoomedOut) {
final double graphPosition = OpenLogViewer.getInstance().getEntireGraphingPanel().getGraphPosition();
final int zoom = OpenLogViewer.getInstance().getEntireGraphingPanel().getZoom();
double offset = 0d;
double margin = 0d;
if (zoomedOut) {
offset = majorGraduationSpacing / zoom;
offset = Math.ceil(offset);
margin = (1d / zoom) / 2d;
} else {
offset = majorGraduationSpacing * zoom;
offset = Math.round(offset);
margin = (1d / zoom) / 2d;
}
g2d.setColor(majorGraduationColor); |
File | Line |
---|
org/diyefi/openlogviewer/graphing/GraphPositionPanel.java | 111 |
org/diyefi/openlogviewer/graphing/GraphPositionPanel.java | 159 |
g2d.setColor(majorGraduationColor);
// Find first position marker placement
double nextPositionMarker = getFirstPositionMarkerPlacement();
// Paint left to right
double position = graphPosition - majorGraduationSpacing;
// TODO It's ugly having the - on the left side of the cast,
// but moving it *could* change behavior, so leaving it alone and
// adding this instead!
for (int i = -(int) offset; i < this.getWidth() + (int) offset; i++) {
if (position >= nextPositionMarker - margin) {
int xCoord = i;
if (xCoord >= 0 && xCoord < validSnappingPositions.length && !validSnappingPositions[xCoord]) { |
File | Line |
---|
org/diyefi/openlogviewer/graphing/GraphPositionPanel.java | 63 |
org/diyefi/openlogviewer/graphing/InfoPanel.java | 63 |
setGraduationSpacing();
}
@Override
public final void paintComponent(final Graphics g) {
super.paintComponent(g);
if (!this.getSize().equals(this.getParent().getSize())) {
this.setSize(this.getParent().getSize());
} |
File | Line |
---|
org/diyefi/openlogviewer/graphing/GraphPositionPanel.java | 64 |
org/diyefi/openlogviewer/graphing/InfoPanel.java | 64 |
org/diyefi/openlogviewer/graphing/SingleGraphPanel.java | 99 |
}
@Override
public final void paintComponent(final Graphics g) {
super.paintComponent(g);
if (!this.getSize().equals(this.getParent().getSize())) {
this.setSize(this.getParent().getSize());
} |
File | Line |
---|
org/diyefi/openlogviewer/graphing/InfoPanel.java | 106 |
org/diyefi/openlogviewer/graphing/InfoPanel.java | 136 |
final MultiGraphLayeredPane multigGraph = OpenLogViewer.getInstance().getMultiGraphLayeredPane();
for (int i = 0; i < multigGraph.getComponentCount(); i++) {
if (multigGraph.getComponent(i) instanceof SingleGraphPanel) {
final SingleGraphPanel singleGraph = (SingleGraphPanel) multigGraph.getComponent(i); |
File | Line |
---|
org/diyefi/openlogviewer/graphing/SingleGraphPanel.java | 591 |
org/diyefi/openlogviewer/graphing/SingleGraphPanel.java | 630 |
for (int i = position; i < 0; i += zoom) {
dataPointsToDisplay[nextAarrayIndex] = -Double.MAX_VALUE;
dataPointRangeInfo[nextAarrayIndex][0] = -Double.MAX_VALUE;
dataPointRangeInfo[nextAarrayIndex][1] = -Double.MAX_VALUE;
dataPointRangeInfo[nextAarrayIndex][2] = -Double.MAX_VALUE;
nextAarrayIndex++;
} |
File | Line |
---|
org/diyefi/openlogviewer/graphing/SingleGraphPanel.java | 568 |
org/diyefi/openlogviewer/graphing/SingleGraphPanel.java | 630 |
} else {
dataPointsToDisplay[nextAarrayIndex] = -Double.MAX_VALUE;
dataPointRangeInfo[nextAarrayIndex][0] = -Double.MAX_VALUE;
dataPointRangeInfo[nextAarrayIndex][1] = -Double.MAX_VALUE;
dataPointRangeInfo[nextAarrayIndex][2] = -Double.MAX_VALUE;
nextAarrayIndex++;
}
}
} else { |
File | Line |
---|
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java | 737 |
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java | 754 |
private void mouseWheelMovedForward(final int xMouseCoord) {
final double center = this.getWidth() / 2.0;
double move = 0;
final int zoomAmount = (int) Math.sqrt(zoom);
for (int i = 0; i < zoomAmount; i++) {
if (zoomedOutBeyondOneToOne) { |
File | Line |
---|
org/diyefi/openlogviewer/graphing/SingleGraphPanel.java | 568 |
org/diyefi/openlogviewer/graphing/SingleGraphPanel.java | 591 |
} else {
dataPointsToDisplay[nextAarrayIndex] = -Double.MAX_VALUE;
dataPointRangeInfo[nextAarrayIndex][0] = -Double.MAX_VALUE;
dataPointRangeInfo[nextAarrayIndex][1] = -Double.MAX_VALUE;
dataPointRangeInfo[nextAarrayIndex][2] = -Double.MAX_VALUE;
nextAarrayIndex++;
} |
File | Line |
---|
org/diyefi/openlogviewer/genericlog/GenericLog.java | 141 |
org/diyefi/openlogviewer/genericlog/GenericLog.java | 182 |
System.out.println(labels.getString(Text.MEMORY_BEFORE)
+ labels.getString(Text.MEMORY_MAX) + ourRuntime.maxMemory()
+ labels.getString(Text.MEMORY_FREE) + ourRuntime.freeMemory()
+ labels.getString(Text.MEMORY_TOTAL) + ourRuntime.totalMemory()); |
File | Line |
---|
org/diyefi/openlogviewer/graphing/GraphPositionPanel.java | 125 |
org/diyefi/openlogviewer/graphing/GraphPositionPanel.java | 171 |
if (xCoord >= 0 && xCoord < validSnappingPositions.length && !validSnappingPositions[xCoord]) {
if (xCoord + 1 < validSnappingPositions.length && validSnappingPositions[xCoord + 1]) {
xCoord++;
} else if (xCoord > 0 && validSnappingPositions[xCoord - 1]) {
xCoord--;
}
} |
File | Line |
---|
org/diyefi/openlogviewer/OpenLogViewer.java | 491 |
org/diyefi/openlogviewer/OpenLogViewer.java | 513 |
throw new RuntimeException(labels.getString(Text.IO_ISSUE_SAVING_PROPERTY) + e.getMessage(), e);
} finally {
try {
if (fos != null) {
fos.close();
}
} catch (IOException ioe) {
ioe.printStackTrace();
}
}
}
private void removeApplicationWideProperty(final String key) { |
File | Line |
---|
org/diyefi/openlogviewer/optionpanel/OptionFrameV2.java | 116 |
org/diyefi/openlogviewer/optionpanel/OptionFrameV2.java | 128 |
public void componentAdded(final ContainerEvent e) {
if (e.getChild() != null) {
if (e.getChild() instanceof ActiveHeaderLabel) {
((ActiveHeaderLabel) e.getChild()).setEnabled(true); |
File | Line |
---|
org/diyefi/openlogviewer/filefilters/FreeEMSFileFilter.java | 44 |
org/diyefi/openlogviewer/filefilters/MSTypeFileFilter.java | 43 |
return labels.getString(Text.FREEEMS_BINARY_LOGS);
}
@Override
public final boolean accept(final File file) {
if (file.isDirectory()) {
return true;
}
final String extension = Utilities.getExtension(file);
if (FileExtensions.BIN.equals(extension)) { |
File | Line |
---|
org/diyefi/openlogviewer/filefilters/CSVFileFilter.java | 35 |
org/diyefi/openlogviewer/filefilters/FreeEMSBinFileFilter.java | 36 |
org/diyefi/openlogviewer/filefilters/FreeEMSLAFileFilter.java | 36 |
org/diyefi/openlogviewer/filefilters/LogFileFilter.java | 35 |
}
@Override
public final boolean accept(final File file) {
if (file.isDirectory()) {
return true;
}
final String extension = Utilities.getExtension(file);
return FileExtensions.CSV.equals(extension); |
File | Line |
---|
org/diyefi/openlogviewer/graphing/SingleGraphPanel.java | 59 |
org/diyefi/openlogviewer/optionpanel/OptionFrameV2.java | 85 |
private static final char DS = DecimalFormatSymbols.getInstance().getDecimalSeparator();
private static final String UNKNOWN_DIGIT = "-"; // String, not char, so we can append below
private static final String UNKNOWN_NUMBER = UNKNOWN_DIGIT + DS + UNKNOWN_DIGIT;
private static final String STAT_SEPARATOR = " | "; |
File | Line |
---|
org/diyefi/openlogviewer/graphing/GraphPositionPanel.java | 96 |
org/diyefi/openlogviewer/graphing/GraphPositionPanel.java | 144 |
org/diyefi/openlogviewer/graphing/SingleGraphPanel.java | 343 |
private void paintPositionBar(final Graphics2D g2d, final boolean zoomedOut) {
final double graphPosition = OpenLogViewer.getInstance().getEntireGraphingPanel().getGraphPosition();
final int zoom = OpenLogViewer.getInstance().getEntireGraphingPanel().getZoom(); |
File | Line |
---|
org/diyefi/openlogviewer/optionpanel/OptionFrameV2.java | 525 |
org/diyefi/openlogviewer/propertypanel/PropertiesPane.java | 392 |
}
@Override
public void mouseEntered(final MouseEvent e) {
}
@Override
public void mouseExited(final MouseEvent e) {
}
@Override
public void mousePressed(final MouseEvent e) { |
File | Line |
---|
org/diyefi/openlogviewer/filefilters/CSVFileFilter.java | 35 |
org/diyefi/openlogviewer/filefilters/FreeEMSBinFileFilter.java | 36 |
org/diyefi/openlogviewer/filefilters/FreeEMSFileFilter.java | 45 |
org/diyefi/openlogviewer/filefilters/FreeEMSLAFileFilter.java | 36 |
org/diyefi/openlogviewer/filefilters/LogFileFilter.java | 35 |
org/diyefi/openlogviewer/filefilters/MSTypeFileFilter.java | 44 |
}
@Override
public final boolean accept(final File file) {
if (file.isDirectory()) {
return true;
}
final String extension = Utilities.getExtension(file); |
File | Line |
---|
org/diyefi/openlogviewer/graphing/GraphPositionPanel.java | 222 |
org/diyefi/openlogviewer/graphing/SingleGraphPanel.java | 344 |
final double graphPosition = OpenLogViewer.getInstance().getEntireGraphingPanel().getGraphPosition();
final int zoom = OpenLogViewer.getInstance().getEntireGraphingPanel().getZoom();
final MultiGraphLayeredPane multiGraph = OpenLogViewer.getInstance().getEntireGraphingPanel().getMultiGraphLayeredPane(); |
File | Line |
---|
org/diyefi/openlogviewer/propertypanel/PropertiesPane.java | 255 |
org/diyefi/openlogviewer/propertypanel/PropertiesPane.java | 262 |
private void updateProperties() {
for (int i = 0; i < propertyView.getComponentCount(); i++) {
final PropertyPanel pp = (PropertyPanel) propertyView.getComponent(i);
pp.updateSP(); |
File | Line |
---|
org/diyefi/openlogviewer/OpenLogViewer.java | 549 |
org/diyefi/openlogviewer/OpenLogViewer.java | 568 |
System.out.print(e.getMessage());
} finally {
try {
if (fis != null) {
fis.close();
}
} catch (IOException ioe) {
ioe.printStackTrace();
}
}
} else { |
File | Line |
---|
org/diyefi/openlogviewer/graphing/GraphPositionPanel.java | 97 |
org/diyefi/openlogviewer/graphing/GraphPositionPanel.java | 145 |
org/diyefi/openlogviewer/graphing/GraphPositionPanel.java | 222 |
final double graphPosition = OpenLogViewer.getInstance().getEntireGraphingPanel().getGraphPosition();
final int zoom = OpenLogViewer.getInstance().getEntireGraphingPanel().getZoom(); |
File | Line |
---|
org/diyefi/openlogviewer/graphing/GraphPositionPanel.java | 84 |
org/diyefi/openlogviewer/graphing/InfoPanel.java | 96 |
final int zoom = OpenLogViewer.getInstance().getEntireGraphingPanel().getZoom();
final boolean zoomedOut = OpenLogViewer.getInstance().getEntireGraphingPanel().isZoomedOutBeyondOneToOne(); |
File | Line |
---|
org/diyefi/openlogviewer/optionpanel/OptionFrameV2.java | 484 |
org/diyefi/openlogviewer/optionpanel/OptionFrameV2.java | 491 |
GDE.setDisplayMaxValue(Double.parseDouble(maxField.getText()));
} catch (NumberFormatException e) {
e.printStackTrace();
throw new RuntimeException(labels.getString(Text.OPV2NFES), e); // TODO
} |
File | Line |
---|
org/diyefi/openlogviewer/propertypanel/PropertiesPane.java | 255 |
org/diyefi/openlogviewer/propertypanel/PropertiesPane.java | 262 |
org/diyefi/openlogviewer/propertypanel/PropertiesPane.java | 275 |
private void updateProperties() {
for (int i = 0; i < propertyView.getComponentCount(); i++) {
final PropertyPanel pp = (PropertyPanel) propertyView.getComponent(i); |
File | Line |
---|
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java | 468 |
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java | 531 |
public final void moveBackward() {
int localZoom = zoom;
if (zoomedOutBeyondOneToOne) {
localZoom = 1;
}
final long now = System.currentTimeMillis();
final long delay = now - thePastLeftArrow; |
File | Line |
---|
org/diyefi/openlogviewer/optionpanel/OptionFrameV2.java | 601 |
org/diyefi/openlogviewer/optionpanel/OptionFrameV2.java | 610 |
public void setToolTipTextFinal() {
this.setToolTipText(labels.getString(Text.FIELD_INFORMATION_PART1) + GDE.getName()
+ labels.getString(Text.FIELD_INFORMATION_PART2) + GDE.getMinValue() |
File | Line |
---|
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java | 214 |
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java | 343 |
public final void zoomInCoarse() {
final int zoomAmount = (int) Math.sqrt(zoom);
for (int i = 0; i < zoomAmount; i++) { |
File | Line |
---|
org/diyefi/openlogviewer/propertypanel/PropertiesPane.java | 184 |
org/diyefi/openlogviewer/propertypanel/PropertiesPane.java | 193 |
ok.addActionListener(new ActionListener() {
@Override
public void actionPerformed(final ActionEvent e) {
OpenLogViewer.getInstance().getPropertyPane().save(); |
File | Line |
---|
org/diyefi/openlogviewer/filefilters/FreeEMSFileFilter.java | 38 |
org/diyefi/openlogviewer/filefilters/MSTypeFileFilter.java | 37 |
public FreeEMSFileFilter(final ResourceBundle labels) {
this.labels = labels;
}
@Override
public final String getDescription() {
return labels.getString(Text.FREEEMS_BINARY_LOGS); |
File | Line |
---|
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java | 806 |
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java | 815 |
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java | 824 |
getActionMap().put(Keys.ENTER_FULL_SCREEN, new AbstractAction() {
private static final long serialVersionUID = 1L;
public void actionPerformed(final ActionEvent e) {
OpenLogViewer.getInstance().enterFullScreen(); |
File | Line |
---|
org/diyefi/openlogviewer/graphing/SingleGraphPanel.java | 522 |
org/diyefi/openlogviewer/graphing/SingleGraphPanel.java | 600 |
double minData = Double.MAX_VALUE;
double maxData = -Double.MAX_VALUE;
double newData = 0.0;
double acummulateData = 0.0;
int divisor = 0;
for (int j = 0; j < zoom; j++) { |
File | Line |
---|
org/diyefi/openlogviewer/graphing/SingleGraphPanel.java | 531 |
org/diyefi/openlogviewer/graphing/SingleGraphPanel.java | 606 |
newData = gde.get(gdeIndex);
acummulateData += newData;
divisor++;
if (newData < minData) {
minData = newData;
}
if (newData > maxData) {
maxData = newData;
} |
File | Line |
---|
org/diyefi/openlogviewer/OpenLogViewer.java | 551 |
org/diyefi/openlogviewer/OpenLogViewer.java | 570 |
org/diyefi/openlogviewer/decoder/FreeEMSBin.java | 379 |
try {
if (fis != null) {
fis.close();
}
} catch (IOException ioe) {
ioe.printStackTrace(); |
File | Line |
---|
org/diyefi/openlogviewer/graphing/MultiGraphLayeredPane.java | 144 |
org/diyefi/openlogviewer/graphing/MultiGraphLayeredPane.java | 158 |
for (int i = 0; i < getComponentCount(); i++) {
if (getComponent(i) instanceof SingleGraphPanel) {
final SingleGraphPanel gl = (SingleGraphPanel) getComponent(i); |
File | Line |
---|
org/diyefi/openlogviewer/graphing/SingleGraphPanel.java | 564 |
org/diyefi/openlogviewer/graphing/SingleGraphPanel.java | 619 |
dataPointRangeInfo[nextAarrayIndex][0] = minData;
dataPointRangeInfo[nextAarrayIndex][1] = averageData;
dataPointRangeInfo[nextAarrayIndex][2] = maxData; |
File | Line |
---|
org/diyefi/openlogviewer/optionpanel/OptionFrameV2.java | 393 |
org/diyefi/openlogviewer/optionpanel/OptionFrameV2.java | 402 |
private final ActionListener applyButtonListener = new ActionListener() {
@Override
public void actionPerformed(final ActionEvent e) {
if (GDE != null) {
changeGDEValues(); |
File | Line |
---|
org/diyefi/openlogviewer/OpenLogViewer.java | 481 |
org/diyefi/openlogviewer/OpenLogViewer.java | 503 |
private void saveApplicationWideProperty(final String key, final String value) {
FileOutputStream fos = null;
try {
final Properties appWide = new Properties();
final File appWideFile = openAppWideProps(appWide);
appWide.setProperty(key, value); |
File | Line |
---|
org/diyefi/openlogviewer/decoder/FreeEMSBin.java | 509 |
org/diyefi/openlogviewer/decoder/FreeEMSBin.java | 511 |
} else if (field.getType() == types.SINT8) { // TODO handle signed ints...
decodedLog.addValue(field.getID(), rawValue);
} else if (field.getType() == types.SINT16) { |
File | Line |
---|
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java | 215 |
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java | 344 |
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java | 740 |
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java | 757 |
final int zoomAmount = (int) Math.sqrt(zoom);
for (int i = 0; i < zoomAmount; i++) { |
File | Line |
---|
org/diyefi/openlogviewer/NavBarPanel.java | 266 |
org/diyefi/openlogviewer/NavBarPanel.java | 328 |
public final void updatePausePlayButton() {
final boolean playing = OpenLogViewer.getInstance().getEntireGraphingPanel().isPlaying();
if (playing) { |
File | Line |
---|
org/diyefi/openlogviewer/OpenLogViewer.java | 362 |
org/diyefi/openlogviewer/OpenLogViewer.java | 377 |
final File fileToOpen = fileChooser.getSelectedFile();
if (!openFile(fileToOpen, fileChooser)) {
JOptionPane.showMessageDialog(mainAppRef, labels.getObject(Text.OPEN_FILE_ERROR_MESSAGE) |
File | Line |
---|
org/diyefi/openlogviewer/OpenLogViewer.java | 195 |
org/diyefi/openlogviewer/propertypanel/PropertiesPane.java | 184 |
org/diyefi/openlogviewer/propertypanel/PropertiesPane.java | 193 |
quitFileMenuItem.addActionListener(new ActionListener() {
@Override
public void actionPerformed(final ActionEvent e) {
OpenLogViewer.getInstance().quit(); |
File | Line |
---|
org/diyefi/openlogviewer/optionpanel/OptionFrameV2.java | 382 |
org/diyefi/openlogviewer/optionpanel/OptionFrameV2.java | 393 |
org/diyefi/openlogviewer/optionpanel/OptionFrameV2.java | 402 |
private final ActionListener resetButtonListener = new ActionListener() {
@Override
public void actionPerformed(final ActionEvent e) {
if (GDE != null) { |
File | Line |
---|
org/diyefi/openlogviewer/OpenLogViewer.java | 529 |
org/diyefi/openlogviewer/propertypanel/PropertiesPane.java | 112 |
if (!appWideFile.exists() || !appWideFile.canRead() || !appWideFile.canWrite()) {
System.out.println(labels.getString(Text.HOME_DIRECTORY_NOT_ACCESSIBLE));
} else { |
File | Line |
---|
org/diyefi/openlogviewer/propertypanel/PropertiesPane.java | 291 |
org/diyefi/openlogviewer/propertypanel/PropertiesPane.java | 326 |
propertyView.add(new PropertyPanel(sp), properties.indexOf(sp));
propertyView.setPreferredSize(new Dimension(propertyView.getPreferredSize().width, propertyView.getPreferredSize().height + 60)); |
File | Line |
---|
org/diyefi/openlogviewer/OpenLogViewer.java | 488 |
org/diyefi/openlogviewer/OpenLogViewer.java | 510 |
appWide.store(fos, "saved");
} catch (IOException e) {
e.printStackTrace();
throw new RuntimeException(labels.getString(Text.IO_ISSUE_SAVING_PROPERTY) + e.getMessage(), e); |
File | Line |
---|
org/diyefi/openlogviewer/OpenLogViewer.java | 597 |
org/diyefi/openlogviewer/OpenLogViewer.java | 599 |
org/diyefi/openlogviewer/OpenLogViewer.java | 604 |
if (IS_WINDOWS || IS_LINUX) {
window.getRootPane().getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW).put(KeyStroke.getKeyStroke(Keys.CONTROL_W), Keys.CLOSE_WINDOW); |
File | Line |
---|
org/diyefi/openlogviewer/decoder/FreeEMSBin.java | 372 |
org/diyefi/openlogviewer/decoder/FreeEMSBin.java | 381 |
bis.close();
}
} catch (IOException ioe) {
ioe.printStackTrace();
System.out.println("Failed To Close BIS Stream!"); |
File | Line |
---|
org/diyefi/openlogviewer/graphing/SingleGraphPanel.java | 203 |
org/diyefi/openlogviewer/graphing/SingleGraphPanel.java | 208 |
if (traceData != rightOfTraceData) {
// fillRect() is 95% faster than fillOval() for a 3x3 square on Ben's dev machine
g2d.fillRect(screenPositionXCoord - 1, screenPositionYCoord - 1, DATA_POINT_WIDTH, DATA_POINT_HEIGHT);
}
} else if (atTraceEnd) { |
File | Line |
---|
org/diyefi/openlogviewer/graphing/SingleGraphPanel.java | 203 |
org/diyefi/openlogviewer/graphing/SingleGraphPanel.java | 213 |
if (traceData != rightOfTraceData) {
// fillRect() is 95% faster than fillOval() for a 3x3 square on Ben's dev machine
g2d.fillRect(screenPositionXCoord - 1, screenPositionYCoord - 1, DATA_POINT_WIDTH, DATA_POINT_HEIGHT);
}
} else if (atTraceEnd) { |
File | Line |
---|
org/diyefi/openlogviewer/OpenLogViewer.java | 542 |
org/diyefi/openlogviewer/propertypanel/PropertiesPane.java | 124 |
appWide.load(fis);
}
} else {
throw new RuntimeException(labels.getString(Text.FAILED_TO_CREATE_DIRECTORY_MESSAGE));
// This should be passed up to the GUI as a dialog that tells you it can't do what it has to be able to...
}
} catch (IOException e) { |
File | Line |
---|
org/diyefi/openlogviewer/OpenLogViewer.java | 540 |
org/diyefi/openlogviewer/OpenLogViewer.java | 563 |
if (appWideFile.createNewFile()) {
fis = new FileInputStream(appWideFile);
appWide.load(fis);
}
} else { |
File | Line |
---|
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java | 284 |
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java | 294 |
zoomIn();
if (zoomedOutBeyondOneToOne) {
dataPointsThatFitInDisplay = graphWindowWidth * zoom;
} else {
dataPointsThatFitInDisplay = graphWindowWidth / zoom;
}
} |
File | Line |
---|
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java | 797 |
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java | 806 |
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java | 815 |
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java | 824 |
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java | 833 |
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java | 842 |
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java | 851 |
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java | 860 |
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java | 869 |
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java | 878 |
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java | 889 |
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java | 900 |
getActionMap().put(Keys.PLAY, new AbstractAction() {
private static final long serialVersionUID = 1L;
public void actionPerformed(final ActionEvent e) { |
File | Line |
---|
org/diyefi/openlogviewer/NavBarPanel.java | 67 |
org/diyefi/openlogviewer/NavBarPanel.java | 78 |
org/diyefi/openlogviewer/NavBarPanel.java | 89 |
org/diyefi/openlogviewer/NavBarPanel.java | 100 |
org/diyefi/openlogviewer/NavBarPanel.java | 113 |
org/diyefi/openlogviewer/NavBarPanel.java | 124 |
org/diyefi/openlogviewer/NavBarPanel.java | 134 |
org/diyefi/openlogviewer/NavBarPanel.java | 145 |
org/diyefi/openlogviewer/NavBarPanel.java | 158 |
org/diyefi/openlogviewer/NavBarPanel.java | 169 |
org/diyefi/openlogviewer/NavBarPanel.java | 180 |
org/diyefi/openlogviewer/NavBarPanel.java | 191 |
org/diyefi/openlogviewer/NavBarPanel.java | 202 |
org/diyefi/openlogviewer/NavBarPanel.java | 213 |
org/diyefi/openlogviewer/NavBarPanel.java | 224 |
org/diyefi/openlogviewer/NavBarPanel.java | 237 |
org/diyefi/openlogviewer/NavBarPanel.java | 248 |
zoomIn.addMouseListener(new MouseAdapter() {
@Override
public void mouseReleased(final MouseEvent e) {
if (zoomIn.contains(e.getPoint())) { |
File | Line |
---|
org/diyefi/openlogviewer/OpenLogViewer.java | 583 |
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java | 797 |
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java | 806 |
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java | 815 |
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java | 824 |
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java | 833 |
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java | 842 |
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java | 851 |
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java | 860 |
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java | 869 |
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java | 878 |
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java | 889 |
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java | 900 |
final Action closeWindow = new AbstractAction() {
private static final long serialVersionUID = 1L;
public void actionPerformed(final ActionEvent e) { |
File | Line |
---|
org/diyefi/openlogviewer/graphing/InfoPanel.java | 75 |
org/diyefi/openlogviewer/graphing/InfoPanel.java | 83 |
if (genLog == null) {
g.setColor(Color.RED);
g.drawString(labels.getString(Text.NO_LOG_LOADED), LEFT_MARGIN_OFFSET, ONE_TEXTUAL_HEIGHT); |
File | Line |
---|
org/diyefi/openlogviewer/OpenLogViewer.java | 495 |
org/diyefi/openlogviewer/OpenLogViewer.java | 517 |
org/diyefi/openlogviewer/OpenLogViewer.java | 553 |
org/diyefi/openlogviewer/OpenLogViewer.java | 572 |
fos.close();
}
} catch (IOException ioe) {
ioe.printStackTrace();
}
}
} |
File | Line |
---|
org/diyefi/openlogviewer/OpenLogViewer.java | 354 |
org/diyefi/openlogviewer/OpenLogViewer.java | 586 |
final WindowEvent wev = new WindowEvent(this, WindowEvent.WINDOW_CLOSING);
Toolkit.getDefaultToolkit().getSystemEventQueue().postEvent(wev);
} |
File | Line |
---|
org/diyefi/openlogviewer/OpenLogViewer.java | 312 |
org/diyefi/openlogviewer/OpenLogViewer.java | 315 |
org/diyefi/openlogviewer/OpenLogViewer.java | 318 |
org/diyefi/openlogviewer/OpenLogViewer.java | 321 |
org/diyefi/openlogviewer/OpenLogViewer.java | 640 |
} catch (UnsupportedLookAndFeelException e) {
e.printStackTrace();
System.out.println(labels.getString(Text.LOOK_AND_FEEL_EXCEPTION_MESSAGE_ONE)); |
File | Line |
---|
org/diyefi/openlogviewer/OpenLogViewer.java | 613 |
org/diyefi/openlogviewer/OpenLogViewer.java | 656 |
final GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment();
final GraphicsDevice[] device = ge.getScreenDevices(); |
File | Line |
---|
org/diyefi/openlogviewer/genericlog/GenericLog.java | 73 |
org/diyefi/openlogviewer/genericlog/GenericLog.java | 77 |
if ((LogState) propertyChangeEvent.getNewValue() == LogState.LOG_LOADING) {
final GenericLog genLog = (GenericLog) propertyChangeEvent.getSource();
genLog.setLogStatus(LogState.LOG_LOADING); |
File | Line |
---|
org/diyefi/openlogviewer/FramesPerSecondPanel.java | 93 |
org/diyefi/openlogviewer/graphing/EntireGraphingPanel.java | 135 |
public final void actionPerformed(final ActionEvent e) {
if (e.getSource().equals(sampleTimer)) { |
File | Line |
---|
org/diyefi/openlogviewer/graphing/SingleGraphPanel.java | 208 |
org/diyefi/openlogviewer/graphing/SingleGraphPanel.java | 213 |
if (traceData != leftOfTraceData) {
// fillRect() is 95% faster than fillOval() for a 3x3 square on Ben's dev machine
g2d.fillRect(screenPositionXCoord - 1, screenPositionYCoord - 1, DATA_POINT_WIDTH, DATA_POINT_HEIGHT);
}
} else if (insideTrace) { |
File | Line |
---|
org/diyefi/openlogviewer/graphing/GraphPositionPanel.java | 222 |
org/diyefi/openlogviewer/graphing/InfoPanel.java | 95 |
org/diyefi/openlogviewer/graphing/SingleGraphPanel.java | 344 |
final double graphPosition = OpenLogViewer.getInstance().getEntireGraphingPanel().getGraphPosition();
final int zoom = OpenLogViewer.getInstance().getEntireGraphingPanel().getZoom();
final MultiGraphLayeredPane multiGraph = OpenLogViewer.getInstance().getEntireGraphingPanel().getMultiGraphLayeredPane(); |
File | Line |
---|
org/diyefi/openlogviewer/propertypanel/PropertiesPane.java | 121 |
org/diyefi/openlogviewer/propertypanel/PropertiesPane.java | 132 |
if (OLVProperties.mkdir()) {
OLVProperties = new File(homeDir.getAbsolutePath() + systemDelim + settingsDirectory + systemDelim + "OLVProperties.olv"); |