zombie.ui
Class QuestPanel

java.lang.Object
  extended by zombie.ui.UIElement
      extended by zombie.ui.NewWindow
          extended by zombie.ui.QuestPanel
All Implemented Interfaces:
UIEventHandler

public class QuestPanel
extends NewWindow
implements UIEventHandler

Author:
Nick

Field Summary
 Quest ActiveQuest
           
static QuestPanel instance
           
 
Fields inherited from class zombie.ui.NewWindow
clickX, clickY, clientH, clientW, Movable, moving, ncclientH, ncclientW, nestedItems, ResizeToFitY
 
Fields inherited from class zombie.ui.UIElement
anchorBottom, anchorLeft, anchorRight, anchorTop, bScrollChildren, bScrollWithParent, capture, clickedValue, Controls, defaultDraw, followGameWorld, height, IgnoreLossControl, Parent, playerContext, table, visible, width, x, y
 
Constructor Summary
QuestPanel(int x, int y)
           
 
Method Summary
 void DoubleClick(java.lang.String name, int x, int y)
           
 void ModalClick(java.lang.String name, java.lang.String chosen)
           
 boolean onMouseDown(int x, int y)
           
 boolean onMouseMove(int dx, int dy)
           
 void onMouseMoveOutside(int dx, int dy)
           
 void render()
           
 void Selected(java.lang.String name, int Selected, int LastSelected)
           
 void SetActiveQuest(Quest q)
           
 void update()
           
 
Methods inherited from class zombie.ui.NewWindow
ButtonClicked, Nest, onMouseUp, setMovable
 
Methods inherited from class zombie.ui.UIElement
AddChild, bringToTop, ClearChildren, clearMaxDrawHeight, clearStencilRect, DrawText, DrawText, DrawTextCentre, DrawTextCentre, DrawTextRight, DrawTextRight, DrawTexture_FlippedX, DrawTexture_FlippedXIgnoreOffset, DrawTexture, DrawTextureCol, DrawTextureColor, DrawTextureIgnoreOffset, DrawTextureScaled, DrawTextureScaledCol, DrawTextureScaledCol, DrawTextureScaledColor, DrawUVSliceTexture, getAbsoluteX, getAbsoluteY, getClickedValue, getControls, getHeight, getParent, getPlayerContext, getScrollChildren, getScrollWithParent, getTable, getWidth, getX, getXScroll, getXScrolled, getY, getYScroll, getYScrolled, ignoreHeightChange, ignoreWidthChange, isAnchorBottom, isAnchorLeft, isAnchorRight, isAnchorTop, isCapture, isDefaultDraw, isFollowGameWorld, isIgnoreLossControl, isVisible, onMouseWheel, onresize, onResize, onRightMouseDown, onRightMouseUp, RemoveChild, RemoveControl, resumeStencil, setAlwaysOnTop, setAnchorBottom, setAnchorLeft, setAnchorRight, setAnchorTop, setCapture, setClickedValue, setConsumeMouseEvents, setControls, setDefaultDraw, setFollowGameWorld, setHeight, setHeightSilent, setIgnoreLossControl, setMaxDrawHeight, setParent, setPlayerContext, setScrollChildren, setScrollWithParent, setStencilRect, setTable, setVisible, setWidth, setWidthSilent, setX, setXScroll, setY, setYScroll, suspendStencil
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instance

public static QuestPanel instance

ActiveQuest

public Quest ActiveQuest
Constructor Detail

QuestPanel

public QuestPanel(int x,
                  int y)
Method Detail

render

public void render()
Overrides:
render in class NewWindow

update

public void update()
Overrides:
update in class NewWindow

DoubleClick

public void DoubleClick(java.lang.String name,
                        int x,
                        int y)
Specified by:
DoubleClick in interface UIEventHandler

Selected

public void Selected(java.lang.String name,
                     int Selected,
                     int LastSelected)
Specified by:
Selected in interface UIEventHandler

SetActiveQuest

public void SetActiveQuest(Quest q)

onMouseDown

public boolean onMouseDown(int x,
                           int y)
Overrides:
onMouseDown in class NewWindow

onMouseMove

public boolean onMouseMove(int dx,
                           int dy)
Overrides:
onMouseMove in class NewWindow

onMouseMoveOutside

public void onMouseMoveOutside(int dx,
                               int dy)
Overrides:
onMouseMoveOutside in class NewWindow

ModalClick

public void ModalClick(java.lang.String name,
                       java.lang.String chosen)
Specified by:
ModalClick in interface UIEventHandler