From: Niki Roo Date: Thu, 30 May 2019 16:47:01 +0000 (+0200) Subject: ConfigItems: only the base should be public X-Git-Tag: nikiroo-utils-5.0.0~5 X-Git-Url: https://git.nikiroo.be/?a=commitdiff_plain;h=8cea9dc5a38411171d89065e720cd39238ed9ea9;p=nikiroo-utils.git ConfigItems: only the base should be public --- diff --git a/src/be/nikiroo/utils/ui/ConfigItemBoolean.java b/src/be/nikiroo/utils/ui/ConfigItemBoolean.java index be7ff20..4cba342 100644 --- a/src/be/nikiroo/utils/ui/ConfigItemBoolean.java +++ b/src/be/nikiroo/utils/ui/ConfigItemBoolean.java @@ -5,7 +5,7 @@ import javax.swing.JComponent; import be.nikiroo.utils.resources.MetaInfo; -public class ConfigItemBoolean> extends ConfigItem { +class ConfigItemBoolean> extends ConfigItem { private static final long serialVersionUID = 1L; /** diff --git a/src/be/nikiroo/utils/ui/ConfigItemBrowse.java b/src/be/nikiroo/utils/ui/ConfigItemBrowse.java index 10f5ccb..c13c396 100644 --- a/src/be/nikiroo/utils/ui/ConfigItemBrowse.java +++ b/src/be/nikiroo/utils/ui/ConfigItemBrowse.java @@ -17,7 +17,7 @@ import javax.swing.JTextField; import be.nikiroo.utils.resources.MetaInfo; -public class ConfigItemBrowse> extends ConfigItem { +class ConfigItemBrowse> extends ConfigItem { private static final long serialVersionUID = 1L; private boolean dir; diff --git a/src/be/nikiroo/utils/ui/ConfigItemColor.java b/src/be/nikiroo/utils/ui/ConfigItemColor.java index 40cb9e9..68077f6 100644 --- a/src/be/nikiroo/utils/ui/ConfigItemColor.java +++ b/src/be/nikiroo/utils/ui/ConfigItemColor.java @@ -21,7 +21,7 @@ import javax.swing.JTextField; import be.nikiroo.utils.resources.MetaInfo; -public class ConfigItemColor> extends ConfigItem { +class ConfigItemColor> extends ConfigItem { private static final long serialVersionUID = 1L; private Map fields = new HashMap(); diff --git a/src/be/nikiroo/utils/ui/ConfigItemCombobox.java b/src/be/nikiroo/utils/ui/ConfigItemCombobox.java index db24589..32bc7e7 100644 --- a/src/be/nikiroo/utils/ui/ConfigItemCombobox.java +++ b/src/be/nikiroo/utils/ui/ConfigItemCombobox.java @@ -5,7 +5,7 @@ import javax.swing.JComponent; import be.nikiroo.utils.resources.MetaInfo; -public class ConfigItemCombobox> extends ConfigItem { +class ConfigItemCombobox> extends ConfigItem { private static final long serialVersionUID = 1L; private boolean editable; diff --git a/src/be/nikiroo/utils/ui/ConfigItemInteger.java b/src/be/nikiroo/utils/ui/ConfigItemInteger.java index c110fae..ebd7b03 100644 --- a/src/be/nikiroo/utils/ui/ConfigItemInteger.java +++ b/src/be/nikiroo/utils/ui/ConfigItemInteger.java @@ -5,7 +5,7 @@ import javax.swing.JSpinner; import be.nikiroo.utils.resources.MetaInfo; -public class ConfigItemInteger> extends ConfigItem { +class ConfigItemInteger> extends ConfigItem { private static final long serialVersionUID = 1L; /** diff --git a/src/be/nikiroo/utils/ui/ConfigItemPassword.java b/src/be/nikiroo/utils/ui/ConfigItemPassword.java index 381334e..c76083b 100644 --- a/src/be/nikiroo/utils/ui/ConfigItemPassword.java +++ b/src/be/nikiroo/utils/ui/ConfigItemPassword.java @@ -5,7 +5,7 @@ import javax.swing.JPasswordField; import be.nikiroo.utils.resources.MetaInfo; -public class ConfigItemPassword> extends ConfigItem { +class ConfigItemPassword> extends ConfigItem { private static final long serialVersionUID = 1L; /** diff --git a/src/be/nikiroo/utils/ui/ConfigItemString.java b/src/be/nikiroo/utils/ui/ConfigItemString.java index 5cf4101..73dffe9 100644 --- a/src/be/nikiroo/utils/ui/ConfigItemString.java +++ b/src/be/nikiroo/utils/ui/ConfigItemString.java @@ -5,7 +5,7 @@ import javax.swing.JTextField; import be.nikiroo.utils.resources.MetaInfo; -public class ConfigItemString> extends ConfigItem { +class ConfigItemString> extends ConfigItem { private static final long serialVersionUID = 1L; /** @@ -45,7 +45,7 @@ public class ConfigItemString> extends ConfigItem { protected void setToInfo(Object value, int item) { info.setString((String) value, item); } - + @Override protected JComponent createField(int item) { return new JTextField();