1 /* 2 * Copyright (c) 2021 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 16 package ohos.devtools.views.layout.chartview; 17 18 import com.intellij.ui.components.JBPanel; 19 import ohos.devtools.views.common.customcomp.CustomJLabel; 20 21 /** 22 * SubSessionListJBPanel 23 * 24 * @since 2021/11/22 25 */ 26 public class SubSessionListJBPanel extends JBPanel { 27 private String startTime; 28 29 private CustomJLabel hosJLabel; 30 31 private CustomJLabel timeJLabel; 32 33 private String panelName; 34 35 private String dbPath; 36 getHosJLabel()37 public CustomJLabel getHosJLabel() { 38 return hosJLabel; 39 } 40 setHosJLabel(CustomJLabel hosJLabel)41 public void setHosJLabel(CustomJLabel hosJLabel) { 42 this.hosJLabel = hosJLabel; 43 } 44 getTimeJLabel()45 public CustomJLabel getTimeJLabel() { 46 return timeJLabel; 47 } 48 setTimeJLabel(CustomJLabel timeJLabel)49 public void setTimeJLabel(CustomJLabel timeJLabel) { 50 this.timeJLabel = timeJLabel; 51 } 52 getStartTime()53 public String getStartTime() { 54 return startTime; 55 } 56 setStartTime(String startTime)57 public void setStartTime(String startTime) { 58 this.startTime = startTime; 59 } 60 getPanelName()61 public String getPanelName() { 62 return panelName; 63 } 64 setPanelName(String panelName)65 public void setPanelName(String panelName) { 66 this.panelName = panelName; 67 } 68 getDbPath()69 public String getDbPath() { 70 return dbPath; 71 } 72 setDbPath(String dbPath)73 public void setDbPath(String dbPath) { 74 this.dbPath = dbPath; 75 } 76 } 77