ui: Access levels
This commit is contained in:
@@ -108,7 +108,7 @@ public class FontManager
|
||||
}
|
||||
}
|
||||
|
||||
public static Font getFontOffCorrectSize(Font f)
|
||||
private static Font getFontOffCorrectSize(Font f)
|
||||
{
|
||||
// Size of the font is already set
|
||||
if (f.getSize2D() > 1)
|
||||
|
||||
@@ -54,8 +54,8 @@ public class RuneLiteSplashScreen
|
||||
{
|
||||
private final RuneLiteProperties runeLiteProperties = new RuneLiteProperties();
|
||||
|
||||
public JFrame frame;
|
||||
public final JPanel panel = new JPanel();
|
||||
private JFrame frame;
|
||||
private final JPanel panel = new JPanel();
|
||||
private JLabel messageLabel;
|
||||
private JLabel subMessageLabel;
|
||||
private final JProgressBar progressBar = new JProgressBar();
|
||||
|
||||
@@ -76,7 +76,7 @@ public class CustomScrollBarUI extends BasicScrollBarUI
|
||||
/**
|
||||
* Creates an empty JButton to be used as the scroll bar's arrows (to disable the arrows).
|
||||
*/
|
||||
protected JButton createEmptyButton()
|
||||
private JButton createEmptyButton()
|
||||
{
|
||||
JButton button = new JButton();
|
||||
Dimension zeroDim = new Dimension(0, 0);
|
||||
|
||||
@@ -159,7 +159,7 @@ public class ProgressBar extends DimmableJPanel
|
||||
centerLabel.setText(isDimmed() ? txt : centerLabelText);
|
||||
}
|
||||
|
||||
public int getPercentage()
|
||||
private int getPercentage()
|
||||
{
|
||||
if (value == 0)
|
||||
{
|
||||
|
||||
@@ -43,7 +43,7 @@ import javax.swing.text.DocumentFilter;
|
||||
import net.runelite.client.ui.ColorScheme;
|
||||
import net.runelite.client.util.ColorUtil;
|
||||
|
||||
public class ColorValuePanel extends JPanel
|
||||
class ColorValuePanel extends JPanel
|
||||
{
|
||||
private static final int DEFAULT_VALUE = ColorUtil.MAX_RGB_VALUE;
|
||||
|
||||
|
||||
@@ -341,7 +341,7 @@ public class TableComponent implements LayoutableRenderableEntity
|
||||
defaultColor);
|
||||
}
|
||||
|
||||
public void setColumnAlignment(final int col, final TableAlignment alignment)
|
||||
private void setColumnAlignment(final int col, final TableAlignment alignment)
|
||||
{
|
||||
assert columns.size() > col;
|
||||
columns.get(col).setAlignment(alignment);
|
||||
@@ -409,7 +409,7 @@ public class TableComponent implements LayoutableRenderableEntity
|
||||
this.rows.add(row);
|
||||
}
|
||||
|
||||
public void addRows(@Nonnull final String[]... rows)
|
||||
private void addRows(@Nonnull final String[]... rows)
|
||||
{
|
||||
for (String[] row : rows)
|
||||
{
|
||||
@@ -434,7 +434,7 @@ public class TableComponent implements LayoutableRenderableEntity
|
||||
this.rows.addAll(Arrays.asList(elements));
|
||||
}
|
||||
|
||||
public void addColumn(@Nonnull final String col)
|
||||
private void addColumn(@Nonnull final String col)
|
||||
{
|
||||
this.columns.add(TableElement.builder().content(col).build());
|
||||
}
|
||||
|
||||
@@ -46,7 +46,7 @@ import org.pushingpixels.substance.api.painter.overlay.TopLineOverlayPainter;
|
||||
import org.pushingpixels.substance.api.shaper.ClassicButtonShaper;
|
||||
import org.pushingpixels.substance.internal.utils.SubstanceColorUtilities;
|
||||
|
||||
public class ObsidianSkin extends SubstanceSkin
|
||||
class ObsidianSkin extends SubstanceSkin
|
||||
{
|
||||
/**
|
||||
* Display name for <code>this</code> skin.
|
||||
|
||||
Reference in New Issue
Block a user