public abstract class ScrollPanel extends FocusableGui implements IRenderable
| 修飾子とタイプ | フィールドと説明 | 
|---|---|
| protected int | border | 
| protected int | bottom | 
| protected boolean | captureMouse | 
| protected int | height | 
| protected int | left | 
| protected int | right | 
| protected float | scrollDistance | 
| protected int | top | 
| protected int | width | 
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION| コンストラクタと説明 | 
|---|
| ScrollPanel(Minecraft client,
           int width,
           int height,
           int top,
           int left) | 
| 修飾子とタイプ | メソッドと説明 | 
|---|---|
| java.util.List<? extends IGuiEventListener> | children() | 
| protected boolean | clickPanel(double mouseX,
          double mouseY,
          int button) | 
| protected void | drawBackground() | 
| protected void | drawGradientRect(int left,
                int top,
                int right,
                int bottom,
                int color1,
                int color2) | 
| protected abstract void | drawPanel(int entryRight,
         int relativeY,
         Tessellator tess,
         int mouseX,
         int mouseY)Draw anything special on the screen. | 
| protected abstract int | getContentHeight() | 
| protected int | getScrollAmount() | 
| boolean | isMouseOver(double mouseX,
           double mouseY) | 
| boolean | mouseClicked(double mouseX,
            double mouseY,
            int button) | 
| boolean | mouseDragged(double mouseX,
            double mouseY,
            int button,
            double deltaX,
            double deltaY) | 
| boolean | mouseReleased(double p_mouseReleased_1_,
             double p_mouseReleased_3_,
             int p_mouseReleased_5_) | 
| boolean | mouseScrolled(double mouseX,
             double mouseY,
             double scroll) | 
| void | render(int mouseX,
      int mouseY,
      float partialTicks) | 
getFocused, isDragging, setDragging, setFocusedblit, blit, blit, blit, blit, drawCenteredString, drawRightAlignedString, drawString, fill, fill, fillGradient, getBlitOffset, hLine, innerBlit, setBlitOffset, vLineclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchangeFocus, charTyped, func_212932_b, getEventListenerForPos, keyPressed, keyReleased, setFocusedDefaultmouseMovedprotected final int width
protected final int height
protected final int top
protected final int bottom
protected final int right
protected final int left
protected float scrollDistance
protected boolean captureMouse
protected final int border
public ScrollPanel(Minecraft client, int width, int height, int top, int left)
protected abstract int getContentHeight()
protected void drawBackground()
protected abstract void drawPanel(int entryRight,
                                  int relativeY,
                                  Tessellator tess,
                                  int mouseX,
                                  int mouseY)
mouseY - mouseX - protected boolean clickPanel(double mouseX,
                             double mouseY,
                             int button)
public boolean mouseScrolled(double mouseX,
                             double mouseY,
                             double scroll)
mouseScrolled インタフェース内 IGuiEventListenermouseScrolled インタフェース内 INestedGuiEventHandlerprotected int getScrollAmount()
public boolean isMouseOver(double mouseX,
                           double mouseY)
isMouseOver インタフェース内 IGuiEventListenerpublic boolean mouseClicked(double mouseX,
                            double mouseY,
                            int button)
mouseClicked インタフェース内 IGuiEventListenermouseClicked インタフェース内 INestedGuiEventHandlerpublic boolean mouseReleased(double p_mouseReleased_1_,
                             double p_mouseReleased_3_,
                             int p_mouseReleased_5_)
mouseReleased インタフェース内 IGuiEventListenermouseReleased インタフェース内 INestedGuiEventHandlerpublic boolean mouseDragged(double mouseX,
                            double mouseY,
                            int button,
                            double deltaX,
                            double deltaY)
mouseDragged インタフェース内 IGuiEventListenermouseDragged インタフェース内 INestedGuiEventHandlerpublic void render(int mouseX,
                   int mouseY,
                   float partialTicks)
render インタフェース内 IRenderableprotected void drawGradientRect(int left,
                                int top,
                                int right,
                                int bottom,
                                int color1,
                                int color2)
public java.util.List<? extends IGuiEventListener> children()
children インタフェース内 INestedGuiEventHandler