1 /*
2 * Tethys: GUI Utilities
3 * Copyright 2012-2026. Tony Washer
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6 * use this file except in compliance with the License. You may obtain a copy
7 * of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 * License for the specific language governing permissions and limitations under
15 * the License.
16 */
17 package io.github.tonywasher.joceanus.tethys.api.pane;
18
19 import io.github.tonywasher.joceanus.tethys.api.base.TethysUIComponent;
20
21 /**
22 * Border Pane Manager.
23 */
24 public interface TethysUIBorderPaneManager
25 extends TethysUIComponent {
26 /**
27 * Obtain the Horizontal Grid Gap.
28 *
29 * @return the GridGap.
30 */
31 Integer getHGap();
32
33 /**
34 * Obtain the Vertical Grid Gap.
35 *
36 * @return the GridGap.
37 */
38 Integer getVGap();
39
40 /**
41 * Set the Horizontal Grid Gap.
42 *
43 * @param pGap the GridGap.
44 */
45 void setHGap(Integer pGap);
46
47 /**
48 * Set the Vertical Grid Gap.
49 *
50 * @param pGap the GridGap.
51 */
52 void setVGap(Integer pGap);
53
54 /**
55 * Set the Centre Node.
56 *
57 * @param pNode the node
58 */
59 void setCentre(TethysUIComponent pNode);
60
61 /**
62 * Set the North Node.
63 *
64 * @param pNode the node
65 */
66 void setNorth(TethysUIComponent pNode);
67
68 /**
69 * Set the South Node.
70 *
71 * @param pNode the node
72 */
73 void setSouth(TethysUIComponent pNode);
74
75 /**
76 * Set the West Node.
77 *
78 * @param pNode the node
79 */
80 void setWest(TethysUIComponent pNode);
81
82 /**
83 * Set the East Node.
84 *
85 * @param pNode the node
86 */
87 void setEast(TethysUIComponent pNode);
88 }