zombie.ui
Class UINineGrid

java.lang.Object
  extended by zombie.ui.UIElement
      extended by zombie.ui.UINineGrid

public class UINineGrid
extends UIElement

Author:
Nick

Field Summary
 int clientH
           
 int clientW
           
 Color Colour
           
 java.util.Stack<java.awt.Rectangle> nestedItems
           
 
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
UINineGrid(int x, int y, int width, int height, int TopWidth, int LeftWidth, int RightWidth, int BottomWidth, java.lang.String TL_Tex, java.lang.String T_Tex, java.lang.String TR_Tex, java.lang.String L_Tex, java.lang.String C_Tex, java.lang.String R_Tex, java.lang.String BL_Tex, java.lang.String B_Tex, java.lang.String BR_Tex)
           
 
Method Summary
 void Nest(UIElement el, int t, int r, int b, int l)
           
 void render()
           
 void update()
           
 
Methods inherited from class zombie.ui.UIElement
AddChild, bringToTop, ButtonClicked, 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, onMouseDown, onMouseMove, onMouseMoveOutside, onMouseUp, 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

clientH

public int clientH

clientW

public int clientW

nestedItems

public java.util.Stack<java.awt.Rectangle> nestedItems

Colour

public Color Colour
Constructor Detail

UINineGrid

public UINineGrid(int x,
                  int y,
                  int width,
                  int height,
                  int TopWidth,
                  int LeftWidth,
                  int RightWidth,
                  int BottomWidth,
                  java.lang.String TL_Tex,
                  java.lang.String T_Tex,
                  java.lang.String TR_Tex,
                  java.lang.String L_Tex,
                  java.lang.String C_Tex,
                  java.lang.String R_Tex,
                  java.lang.String BL_Tex,
                  java.lang.String B_Tex,
                  java.lang.String BR_Tex)
Method Detail

Nest

public void Nest(UIElement el,
                 int t,
                 int r,
                 int b,
                 int l)

render

public void render()
Overrides:
render in class UIElement

update

public void update()
Overrides:
update in class UIElement