Class AbstractFriendsTab
java.lang.Object
net.minecraft.client.gui.screens.friends.AbstractFriendsTab
- All Implemented Interfaces:
Tab
- Direct Known Subclasses:
FriendsTab, PendingTab
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected int(package private) static final int(package private) static final int(package private) static final intprotected final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) FrameLayoutcreateCenteredFrame(LayoutElement child, int frameWidth, int frameHeight) (package private) MultiLineTextWidgetcreateCenteredText(Component message, Font font, int maxWidth) (package private) FocusableTextWidgetcreateText(Component message, Font font, int maxWidth) (package private) final voiddisable()protected abstract Layoutprotected int(package private) abstract void(package private) voidsetHeight(int height) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Tab
doLayout, getLayout, getTabExtraNarration, getTabTitle, visitChildren
-
Field Details
-
SPACING
static final int SPACING- See Also:
-
SCROLLBAR_SPACING
static final int SCROLLBAR_SPACING- See Also:
-
LIST_MARGIN
static final int LIST_MARGIN- See Also:
-
width
protected final int width -
height
protected int height
-
-
Constructor Details
-
AbstractFriendsTab
public AbstractFriendsTab(int width, int height)
-
-
Method Details
-
getListContentWidth
protected int getListContentWidth() -
rearrangeElements
abstract void rearrangeElements() -
entriesContainer
-
disable
final void disable() -
setHeight
void setHeight(int height) -
createCenteredFrame
-
createText
-
createCenteredText
-