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
|
// Size of the font is already set
|
||||||
if (f.getSize2D() > 1)
|
if (f.getSize2D() > 1)
|
||||||
|
|||||||
@@ -54,8 +54,8 @@ public class RuneLiteSplashScreen
|
|||||||
{
|
{
|
||||||
private final RuneLiteProperties runeLiteProperties = new RuneLiteProperties();
|
private final RuneLiteProperties runeLiteProperties = new RuneLiteProperties();
|
||||||
|
|
||||||
public JFrame frame;
|
private JFrame frame;
|
||||||
public final JPanel panel = new JPanel();
|
private final JPanel panel = new JPanel();
|
||||||
private JLabel messageLabel;
|
private JLabel messageLabel;
|
||||||
private JLabel subMessageLabel;
|
private JLabel subMessageLabel;
|
||||||
private final JProgressBar progressBar = new JProgressBar();
|
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).
|
* 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();
|
JButton button = new JButton();
|
||||||
Dimension zeroDim = new Dimension(0, 0);
|
Dimension zeroDim = new Dimension(0, 0);
|
||||||
|
|||||||
@@ -159,7 +159,7 @@ public class ProgressBar extends DimmableJPanel
|
|||||||
centerLabel.setText(isDimmed() ? txt : centerLabelText);
|
centerLabel.setText(isDimmed() ? txt : centerLabelText);
|
||||||
}
|
}
|
||||||
|
|
||||||
public int getPercentage()
|
private int getPercentage()
|
||||||
{
|
{
|
||||||
if (value == 0)
|
if (value == 0)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ import javax.swing.text.DocumentFilter;
|
|||||||
import net.runelite.client.ui.ColorScheme;
|
import net.runelite.client.ui.ColorScheme;
|
||||||
import net.runelite.client.util.ColorUtil;
|
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;
|
private static final int DEFAULT_VALUE = ColorUtil.MAX_RGB_VALUE;
|
||||||
|
|
||||||
|
|||||||
@@ -341,7 +341,7 @@ public class TableComponent implements LayoutableRenderableEntity
|
|||||||
defaultColor);
|
defaultColor);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setColumnAlignment(final int col, final TableAlignment alignment)
|
private void setColumnAlignment(final int col, final TableAlignment alignment)
|
||||||
{
|
{
|
||||||
assert columns.size() > col;
|
assert columns.size() > col;
|
||||||
columns.get(col).setAlignment(alignment);
|
columns.get(col).setAlignment(alignment);
|
||||||
@@ -409,7 +409,7 @@ public class TableComponent implements LayoutableRenderableEntity
|
|||||||
this.rows.add(row);
|
this.rows.add(row);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void addRows(@Nonnull final String[]... rows)
|
private void addRows(@Nonnull final String[]... rows)
|
||||||
{
|
{
|
||||||
for (String[] row : rows)
|
for (String[] row : rows)
|
||||||
{
|
{
|
||||||
@@ -434,7 +434,7 @@ public class TableComponent implements LayoutableRenderableEntity
|
|||||||
this.rows.addAll(Arrays.asList(elements));
|
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());
|
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.api.shaper.ClassicButtonShaper;
|
||||||
import org.pushingpixels.substance.internal.utils.SubstanceColorUtilities;
|
import org.pushingpixels.substance.internal.utils.SubstanceColorUtilities;
|
||||||
|
|
||||||
public class ObsidianSkin extends SubstanceSkin
|
class ObsidianSkin extends SubstanceSkin
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Display name for <code>this</code> skin.
|
* Display name for <code>this</code> skin.
|
||||||
|
|||||||
Reference in New Issue
Block a user