Class DedicatedServerGui
java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
net.minecraft.server.dedicated.gui.DedicatedServerGui
- All Implemented Interfaces:
ImageObserver,MenuContainer,Serializable
public class DedicatedServerGui extends JComponent
- See Also:
- Serialized Form
- Mappings:
Namespace Name official aacintermediary net/minecraft/class_3182named net/minecraft/server/dedicated/gui/DedicatedServerGui
-
Nested Class Summary
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponentNested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainerNested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy -
Field Summary
Fields Modifier and Type Field Description private ThreadconsoleUpdateThreadprivate static FontFONT_MONOSPACEprivate static LoggerLOGGERprivate MinecraftDedicatedServerserverprivate AtomicBooleanstoppedprivate Collection<Runnable>stopTasksFields inherited from class javax.swing.JComponent
listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOWFields inherited from class java.awt.Component
accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENTFields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH -
Constructor Summary
Constructors Modifier Constructor Description privateDedicatedServerGui(MinecraftDedicatedServer server) -
Method Summary
Modifier and Type Method Description voidaddStopTask(Runnable task)voidappendToConsole(JTextArea textArea, JScrollPane scrollPane, String string)static DedicatedServerGuicreate(MinecraftDedicatedServer server)private JComponentcreateLogPanel()private JComponentcreatePlaysPanel()private JComponentcreateStatsPanel()private voidrunStopTasks()voidstart()voidstop()Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getUI, getUIClassID, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, hide, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingOrigin, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, paramString, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update, updateUIMethods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusDownCycle, validate, validateTreeMethods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getAccessibleContext, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setMixingCutoutShape, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
-
Field Details
-
FONT_MONOSPACE
- Mappings:
Namespace Name Mixin selector official aLaac;a:Ljava/awt/Font;intermediary field_13837Lnet/minecraft/class_3182;field_13837:Ljava/awt/Font;named FONT_MONOSPACELnet/minecraft/server/dedicated/gui/DedicatedServerGui;FONT_MONOSPACE:Ljava/awt/Font;
-
LOGGER
- Mappings:
Namespace Name Mixin selector official bLaac;b:Lorg/apache/logging/log4j/Logger;intermediary field_13840Lnet/minecraft/class_3182;field_13840:Lorg/apache/logging/log4j/Logger;named LOGGERLnet/minecraft/server/dedicated/gui/DedicatedServerGui;LOGGER:Lorg/apache/logging/log4j/Logger;
-
server
- Mappings:
Namespace Name Mixin selector official cLaac;c:Lzw;intermediary field_13839Lnet/minecraft/class_3182;field_13839:Lnet/minecraft/class_3176;named serverLnet/minecraft/server/dedicated/gui/DedicatedServerGui;server:Lnet/minecraft/server/dedicated/MinecraftDedicatedServer;
-
consoleUpdateThread
- Mappings:
Namespace Name Mixin selector official dLaac;d:Ljava/lang/Thread;intermediary field_13838Lnet/minecraft/class_3182;field_13838:Ljava/lang/Thread;named consoleUpdateThreadLnet/minecraft/server/dedicated/gui/DedicatedServerGui;consoleUpdateThread:Ljava/lang/Thread;
-
stopTasks
- Mappings:
Namespace Name Mixin selector official eLaac;e:Ljava/util/Collection;intermediary field_16855Lnet/minecraft/class_3182;field_16855:Ljava/util/Collection;named stopTasksLnet/minecraft/server/dedicated/gui/DedicatedServerGui;stopTasks:Ljava/util/Collection;
-
stopped
- Mappings:
Namespace Name Mixin selector official fLaac;f:Ljava/util/concurrent/atomic/AtomicBoolean;intermediary field_16854Lnet/minecraft/class_3182;field_16854:Ljava/util/concurrent/atomic/AtomicBoolean;named stoppedLnet/minecraft/server/dedicated/gui/DedicatedServerGui;stopped:Ljava/util/concurrent/atomic/AtomicBoolean;
-
-
Constructor Details
-
DedicatedServerGui
- Mappings:
Namespace Name Mixin selector official <init>Laac;<init>(Lzw;)Vintermediary <init>Lnet/minecraft/class_3182;<init>(Lnet/minecraft/class_3176;)Vnamed <init>Lnet/minecraft/server/dedicated/gui/DedicatedServerGui;<init>(Lnet/minecraft/server/dedicated/MinecraftDedicatedServer;)V
-
-
Method Details
-
create
- Mappings:
Namespace Name Mixin selector official aLaac;a(Lzw;)Laac;intermediary method_13969Lnet/minecraft/class_3182;method_13969(Lnet/minecraft/class_3176;)Lnet/minecraft/class_3182;named createLnet/minecraft/server/dedicated/gui/DedicatedServerGui;create(Lnet/minecraft/server/dedicated/MinecraftDedicatedServer;)Lnet/minecraft/server/dedicated/gui/DedicatedServerGui;
-
addStopTask
- Mappings:
Namespace Name Mixin selector official aLaac;a(Ljava/lang/Runnable;)Vintermediary method_16746Lnet/minecraft/class_3182;method_16746(Ljava/lang/Runnable;)Vnamed addStopTaskLnet/minecraft/server/dedicated/gui/DedicatedServerGui;addStopTask(Ljava/lang/Runnable;)V
-
createStatsPanel
- Mappings:
Namespace Name Mixin selector official cLaac;c()Ljavax/swing/JComponent;intermediary method_13976Lnet/minecraft/class_3182;method_13976()Ljavax/swing/JComponent;named createStatsPanelLnet/minecraft/server/dedicated/gui/DedicatedServerGui;createStatsPanel()Ljavax/swing/JComponent;
-
createPlaysPanel
- Mappings:
Namespace Name Mixin selector official dLaac;d()Ljavax/swing/JComponent;intermediary method_13975Lnet/minecraft/class_3182;method_13975()Ljavax/swing/JComponent;named createPlaysPanelLnet/minecraft/server/dedicated/gui/DedicatedServerGui;createPlaysPanel()Ljavax/swing/JComponent;
-
createLogPanel
- Mappings:
Namespace Name Mixin selector official eLaac;e()Ljavax/swing/JComponent;intermediary method_13973Lnet/minecraft/class_3182;method_13973()Ljavax/swing/JComponent;named createLogPanelLnet/minecraft/server/dedicated/gui/DedicatedServerGui;createLogPanel()Ljavax/swing/JComponent;
-
start
public void start()- Mappings:
Namespace Name Mixin selector official aLaac;a()Vintermediary method_13974Lnet/minecraft/class_3182;method_13974()Vnamed startLnet/minecraft/server/dedicated/gui/DedicatedServerGui;start()V
-
stop
public void stop()- Mappings:
Namespace Name Mixin selector official bLaac;b()Vintermediary method_16750Lnet/minecraft/class_3182;method_16750()Vnamed stopLnet/minecraft/server/dedicated/gui/DedicatedServerGui;stop()V
-
runStopTasks
private void runStopTasks()- Mappings:
Namespace Name Mixin selector official fLaac;f()Vintermediary method_16747Lnet/minecraft/class_3182;method_16747()Vnamed runStopTasksLnet/minecraft/server/dedicated/gui/DedicatedServerGui;runStopTasks()V
-
appendToConsole
- Mappings:
Namespace Name Mixin selector official aLaac;a(Ljavax/swing/JTextArea;Ljavax/swing/JScrollPane;Ljava/lang/String;)Vintermediary method_13970Lnet/minecraft/class_3182;method_13970(Ljavax/swing/JTextArea;Ljavax/swing/JScrollPane;Ljava/lang/String;)Vnamed appendToConsoleLnet/minecraft/server/dedicated/gui/DedicatedServerGui;appendToConsole(Ljavax/swing/JTextArea;Ljavax/swing/JScrollPane;Ljava/lang/String;)V
-