Autopsy  4.20.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
EventAxis.java
Go to the documentation of this file.
1 /*
2  * Autopsy Forensic Browser
3  *
4  * Copyright 2014-16 Basis Technology Corp.
5  * Contact: carrier <at> sleuthkit <dot> org
6  *
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  * http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  */
19 package org.sleuthkit.autopsy.timeline.ui.detailview;
20 
21 import java.util.Collections;
22 import java.util.List;
23 import javafx.scene.chart.Axis;
24 import javafx.scene.chart.XYChart;
26 
31 class EventAxis<Type extends DetailViewEvent> extends Axis<Type> {
32 
33  EventAxis(String label) {
34  setLabel(label);
35  }
36 
37  @Override
38  public double getDisplayPosition(Type value) {
39  throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
40  }
41 
42  @Override
43  public Type getValueForDisplay(double displayPosition) {
44  throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
45  }
46 
47  @Override
48  public double getZeroPosition() {
49  return 0;
50  }
51 
52  @Override
53  public boolean isValueOnAxis(Type value) {
54  throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
55  }
56 
57  @Override
58  public double toNumericValue(Type value) {
59  throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
60  }
61 
62  @Override
63  public Type toRealValue(double value) {
64  throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
65  }
66 
67  @Override
68  protected Object autoRange(double length) {
69  return null;
70  }
71 
72  @Override
73  protected List<Type> calculateTickValues(double length, Object range) {
74  return Collections.emptyList();
75  }
76 
77  @Override
78  protected Object getRange() {
79  return new Object();
80  }
81 
82  @Override
83  protected String getTickMarkLabel(Type value) {
84  throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
85  }
86 
87  @Override
88  protected void setRange(Object range, boolean animate) {
89 // throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
90  }
91 
92 }

Copyright © 2012-2022 Basis Technology. Generated on: Tue Aug 1 2023
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.