Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Analyst WebApp
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
fidentis
Analyst WebApp
Commits
ebcab443
There was an error fetching the commit references. Please try again later.
Commit
ebcab443
authored
3 years ago
by
Daniel Schramm
Browse files
Options
Downloads
Patches
Plain Diff
Minor corrections of javadoc and code style
parent
9ee50dba
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
GUI/src/main/java/cz/fidentis/analyst/core/ControlPanelBuilder.java
+5
-5
5 additions, 5 deletions
...in/java/cz/fidentis/analyst/core/ControlPanelBuilder.java
with
5 additions
and
5 deletions
GUI/src/main/java/cz/fidentis/analyst/core/ControlPanelBuilder.java
+
5
−
5
View file @
ebcab443
...
...
@@ -34,7 +34,7 @@ import javax.swing.text.NumberFormatter;
*/
public
class
ControlPanelBuilder
{
public
static
final
Font
CAPTION_FONT
=
new
Font
(
"Arial"
,
1
,
18
);
public
static
final
Font
CAPTION_FONT
=
new
Font
(
"Arial"
,
1
,
18
);
public
static
final
Insets
CAPTION_PADDING
=
new
Insets
(
20
,
0
,
20
,
0
);
// top, left, bottom, right
public
static
final
ImageIcon
HELP_ICON
=
new
ImageIcon
(
ControlPanelBuilder
.
class
.
getResource
(
"/info.png"
));
public
static
final
Font
OPTION_TEXT_FONT
=
new
Font
(
"Arial"
,
1
,
14
);
...
...
@@ -146,7 +146,7 @@ public class ControlPanelBuilder {
* @param helpAction Action listener invoked when the help icon is clicked. If {@code null}, then no help is shown.
* @param text Option text.
* @param sliderMax Max value of the slider (and the value field). If {@code -1}, then percentage slider is shown with 100 as the max. value.
* @param
help
Action Action listener invoked when the input field is changed
* @param
input
Action Action listener invoked when the input field is changed
* @return Creates slider
*/
public
JTextField
addSliderOptionLine
(
ActionListener
helpAction
,
String
text
,
int
sliderMax
,
ActionListener
inputAction
)
{
...
...
@@ -307,7 +307,7 @@ public class ControlPanelBuilder {
* Adds a check box.
*
* @param selected Initial state
* @param action
s
Action listener invoked when the checkbox is clicked.
* @param action Action listener invoked when the checkbox is clicked.
* @return This builder
*/
public
JCheckBox
addCheckBox
(
boolean
selected
,
ActionListener
action
)
{
...
...
@@ -330,7 +330,7 @@ public class ControlPanelBuilder {
/**
* Adds a help icon.
*
* @param action
s
Action listener invoked when the icon is clicked.
* @param action Action listener invoked when the icon is clicked.
* @return This builder
*/
public
JButton
addOptionHelpIcon
(
ActionListener
action
)
{
...
...
@@ -428,5 +428,5 @@ public class ControlPanelBuilder {
return
slider
;
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment