de.lessvoid.nifty.controls.scrollpanel
Class ScrollPanelControl

java.lang.Object
  extended by de.lessvoid.nifty.controls.AbstractController
      extended by de.lessvoid.nifty.controls.scrollpanel.ScrollPanelControl
All Implemented Interfaces:
Controller, NiftyControl, ScrollPanel

Deprecated. Please use ScrollPanel when accessing NiftyControls.

@Deprecated
public class ScrollPanelControl
extends AbstractController
implements ScrollPanel


Nested Class Summary
 
Nested classes/interfaces inherited from interface de.lessvoid.nifty.controls.ScrollPanel
ScrollPanel.AutoScroll, ScrollPanel.VerticalAlign
 
Constructor Summary
ScrollPanelControl()
          Deprecated.  
 
Method Summary
 void bind(Nifty niftyParam, Screen screenParam, Element elementParam, Properties parameter, Attributes controlDefinitionAttributes)
          Deprecated.  
 ScrollPanel.AutoScroll getAutoScroll()
          Deprecated. Get auto scroll mode.
 float getHorizontalPos()
          Deprecated. Get the horizontal position.
 float getVerticalPos()
          Deprecated. Get the vertical position.
 void init(Properties parameter, Attributes controlDefinitionAttributes)
          Deprecated.  
 boolean inputEvent(NiftyInputEvent inputEvent)
          Deprecated.  
 void layoutCallback()
          Deprecated.  
 void mouseWheel(Element e, NiftyMouseInputEvent inputEvent)
          Deprecated.  
 void onStartScreen()
          Deprecated.  
 void setAutoScroll(ScrollPanel.AutoScroll auto)
          Deprecated. Set auto scroll mode.
 void setHorizontalPos(float xPos)
          Deprecated. Set horizontal position.
 void setPageSizeX(float pageSizeX)
          Deprecated. Page size x
 void setPageSizeY(float pageSizeY)
          Deprecated. Page size y
 void setStepSizeX(float stepSizeX)
          Deprecated. Step size x
 void setStepSizeY(float stepSizeY)
          Deprecated. Step size y
 void setUp(float stepSizeX, float stepSizeY, float pageSizeX, float pageSizeY, ScrollPanel.AutoScroll auto)
          Deprecated. Setup.
 void setVerticalPos(float yPos)
          Deprecated. Set vertical position.
 void showElementVertical(int elemCount)
          Deprecated. Show element vertical position.
 
Methods inherited from class de.lessvoid.nifty.controls.AbstractController
bind, disable, enable, getElement, getHeight, getId, getStyle, getWidth, hasFocus, isBound, isEnabled, onFocus, setEnabled, setFocus, setFocusable, setHeight, setId, setStyle, setWidth
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface de.lessvoid.nifty.controls.NiftyControl
disable, enable, getElement, getHeight, getId, getStyle, getWidth, hasFocus, isBound, isEnabled, setEnabled, setFocus, setFocusable, setHeight, setId, setStyle, setWidth
 

Constructor Detail

ScrollPanelControl

public ScrollPanelControl()
Deprecated. 
Method Detail

bind

public void bind(Nifty niftyParam,
                 Screen screenParam,
                 Element elementParam,
                 Properties parameter,
                 Attributes controlDefinitionAttributes)
Deprecated. 
Specified by:
bind in interface Controller

init

public void init(Properties parameter,
                 Attributes controlDefinitionAttributes)
Deprecated. 
Specified by:
init in interface Controller
Overrides:
init in class AbstractController

onStartScreen

public void onStartScreen()
Deprecated. 
Specified by:
onStartScreen in interface Controller

layoutCallback

public void layoutCallback()
Deprecated. 
Specified by:
layoutCallback in interface NiftyControl
Overrides:
layoutCallback in class AbstractController

inputEvent

public boolean inputEvent(NiftyInputEvent inputEvent)
Deprecated. 
Specified by:
inputEvent in interface Controller

setHorizontalPos

public void setHorizontalPos(float xPos)
Deprecated. 
Description copied from interface: ScrollPanel
Set horizontal position.

Specified by:
setHorizontalPos in interface ScrollPanel
Parameters:
xPos - new position

getHorizontalPos

public float getHorizontalPos()
Deprecated. 
Description copied from interface: ScrollPanel
Get the horizontal position.

Specified by:
getHorizontalPos in interface ScrollPanel
Returns:
xPos

setVerticalPos

public void setVerticalPos(float yPos)
Deprecated. 
Description copied from interface: ScrollPanel
Set vertical position.

Specified by:
setVerticalPos in interface ScrollPanel
Parameters:
yPos - new position

getVerticalPos

public float getVerticalPos()
Deprecated. 
Description copied from interface: ScrollPanel
Get the vertical position.

Specified by:
getVerticalPos in interface ScrollPanel
Returns:
yPos

showElementVertical

public void showElementVertical(int elemCount)
Deprecated. 
Description copied from interface: ScrollPanel
Show element vertical position.

Specified by:
showElementVertical in interface ScrollPanel
Parameters:
elemCount - element index

setUp

public void setUp(float stepSizeX,
                  float stepSizeY,
                  float pageSizeX,
                  float pageSizeY,
                  ScrollPanel.AutoScroll auto)
Deprecated. 
Description copied from interface: ScrollPanel
Setup.

Specified by:
setUp in interface ScrollPanel
Parameters:
stepSizeX - step size x
stepSizeY - step size y
pageSizeX - page size x
pageSizeY - page size y
auto - auto

setAutoScroll

public void setAutoScroll(ScrollPanel.AutoScroll auto)
Deprecated. 
Description copied from interface: ScrollPanel
Set auto scroll mode.

Specified by:
setAutoScroll in interface ScrollPanel
Parameters:
auto - auto scroll mode

getAutoScroll

public ScrollPanel.AutoScroll getAutoScroll()
Deprecated. 
Description copied from interface: ScrollPanel
Get auto scroll mode.

Specified by:
getAutoScroll in interface ScrollPanel
Returns:
auto scroll mode

setStepSizeX

public void setStepSizeX(float stepSizeX)
Deprecated. 
Description copied from interface: ScrollPanel
Step size x

Specified by:
setStepSizeX in interface ScrollPanel

setStepSizeY

public void setStepSizeY(float stepSizeY)
Deprecated. 
Description copied from interface: ScrollPanel
Step size y

Specified by:
setStepSizeY in interface ScrollPanel
Parameters:
stepSizeY - step size y

setPageSizeX

public void setPageSizeX(float pageSizeX)
Deprecated. 
Description copied from interface: ScrollPanel
Page size x

Specified by:
setPageSizeX in interface ScrollPanel
Parameters:
pageSizeX - page size x

setPageSizeY

public void setPageSizeY(float pageSizeY)
Deprecated. 
Description copied from interface: ScrollPanel
Page size y

Specified by:
setPageSizeY in interface ScrollPanel
Parameters:
pageSizeY - page sze y

mouseWheel

public void mouseWheel(Element e,
                       NiftyMouseInputEvent inputEvent)
Deprecated. 


Copyright © 2011. All Rights Reserved.