Blame view

src/main/java/eu/omp/irap/vespa/epntapclient/gui/GUIDim.java 2.08 KB
5af53be7   Nathanael Jourdane   Make the applicat...
1
2
3
4
5
/*
 * This file is a part of EpnTAPClient.
 * This program aims to provide EPN-TAP support for software clients, like CASSIS spectrum analyzer.
 * See draft specifications: https://voparis-confluence.obspm.fr/pages/viewpage.action?pageId=559861
 * Copyright (C) 2016 Institut de Recherche en Astrophysique et Planétologie.
1e543ea0   Nathanael Jourdane   Code clean-up
6
 *
5af53be7   Nathanael Jourdane   Make the applicat...
7
8
9
10
11
12
13
14
15
16
 * This program is free software: you can
 * redistribute it and/or modify it under the terms of the GNU General Public License as published
 * by the Free Software Foundation, either version 3 of the License, or (at your option) any later
 * version. This program is distributed in the hope that it will be useful, but WITHOUT ANY
 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
 * PURPOSE. See the GNU General Public License for more details. You should have received a copy of
 * the GNU General Public License along with this program. If not, see
 * <http://www.gnu.org/licenses/>.
 */

6dd0d332   Nathanael Jourdane   The controller do...
17
package eu.omp.irap.vespa.epntapclient.gui;
5af53be7   Nathanael Jourdane   Make the applicat...
18
19
20

/**
 * A simple class containing GUI panel and elements dimensions.
1e543ea0   Nathanael Jourdane   Code clean-up
21
 *
5af53be7   Nathanael Jourdane   Make the applicat...
22
23
 * @author N. Jourdane
 */
fe1e4470   Nathanael Jourdane   Minor code improv...
24
public class GUIDim {
aa2a59ba   Nathanael Jourdane   [coding style] 2 ...
25

5af53be7   Nathanael Jourdane   Make the applicat...
26
	/** The width of the left panel (services view). */
3bb7f0aa   Nathanael Jourdane   Improve GUI
27
	public static final int LEFT_PANEL_WIDTH = 550;
aa2a59ba   Nathanael Jourdane   [coding style] 2 ...
28

5af53be7   Nathanael Jourdane   Make the applicat...
29
	/** The minimum width of the left panel (services view). */
17f1bf5b   Nathanael Jourdane   Add a sorter to t...
30
	public static final int LEFT_PANEL_MIN_WIDTH = 300;
aa2a59ba   Nathanael Jourdane   [coding style] 2 ...
31

5af53be7   Nathanael Jourdane   Make the applicat...
32
	/** The width of the right panel (request view). */
3bb7f0aa   Nathanael Jourdane   Improve GUI
33
	public static final int RIGHT_PANEL_WIDTH = 450;
aa2a59ba   Nathanael Jourdane   [coding style] 2 ...
34

5af53be7   Nathanael Jourdane   Make the applicat...
35
36
37
38
	/** The minimum width of the right panel (request view). */
	public static final int RIGHT_PANEL_MIN_WIDTH = 220;

	/** The height of the top panel (request view and services view). */
3bb7f0aa   Nathanael Jourdane   Improve GUI
39
	public static final int TOP_PANEL_HEIGHT = 400;
aa2a59ba   Nathanael Jourdane   [coding style] 2 ...
40

5af53be7   Nathanael Jourdane   Make the applicat...
41
	/** The minimum height of the top panel (request view and services view). */
3bb7f0aa   Nathanael Jourdane   Improve GUI
42
	public static final int TOP_PANEL_MIN_HEIGHT = 100;
aa2a59ba   Nathanael Jourdane   [coding style] 2 ...
43

5af53be7   Nathanael Jourdane   Make the applicat...
44
45
	/** The height of the bottom panel (result view). */
	public static final int BOTTOM_PANEL_HEIGHT = 150;
aa2a59ba   Nathanael Jourdane   [coding style] 2 ...
46

5af53be7   Nathanael Jourdane   Make the applicat...
47
48
	/** The minimum height of the bottom panel (result view). */
	public static final int BOTTOM_PANEL_MIN_HEIGHT = 100;
4268557f   Nathanael Jourdane   Fix some Sonar is...
49

aa2a59ba   Nathanael Jourdane   [coding style] 2 ...
50

4268557f   Nathanael Jourdane   Fix some Sonar is...
51
	/** Private constructor to hide the implicit public one. */
fe1e4470   Nathanael Jourdane   Minor code improv...
52
	private GUIDim() {
4268557f   Nathanael Jourdane   Fix some Sonar is...
53
	}
5af53be7   Nathanael Jourdane   Make the applicat...
54
}