org.salespointframework.desktop.renderer
Class AbstractListViewRenderer.RenderContext

java.lang.Object
  extended by org.salespointframework.desktop.renderer.AbstractListViewRenderer.RenderContext
Enclosing class:
AbstractListViewRenderer

protected static class AbstractListViewRenderer.RenderContext
extends java.lang.Object

the render context provides information about the current rendering process

Since:
4.0
Author:
Thomas Kissinger

Field Summary
 boolean cellhasFocus
          flag for focus
 AbstractListViewRenderer.RenderComponent component
          component that is rendered
 short elementType
          type of element. can be: AbstractListViewRenderer.RENDER_ELEMENT_TYPE_CELL or AbstractListViewRenderer.RENDER_ELEMENT_TYPE_SEPERATOR
 int index
          item index
 boolean isMouseOver
          flag for mouse over
 boolean isSelected
          flag for selection
 javax.swing.JList list
          owning list
 java.lang.Object object
          object to render
 JListView.ListViewOrientation orientation
          orientation of owning list
 boolean rerender
          true, if component was recovered from cache but needs a value update
 java.awt.Dimension size
          target size of component
 
Constructor Summary
protected AbstractListViewRenderer.RenderContext()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

index

public int index
item index


list

public javax.swing.JList list
owning list


object

public java.lang.Object object
object to render


isSelected

public boolean isSelected
flag for selection


cellhasFocus

public boolean cellhasFocus
flag for focus


isMouseOver

public boolean isMouseOver
flag for mouse over


size

public java.awt.Dimension size
target size of component


rerender

public boolean rerender
true, if component was recovered from cache but needs a value update


elementType

public short elementType
type of element. can be: AbstractListViewRenderer.RENDER_ELEMENT_TYPE_CELL or AbstractListViewRenderer.RENDER_ELEMENT_TYPE_SEPERATOR


orientation

public JListView.ListViewOrientation orientation
orientation of owning list


component

public AbstractListViewRenderer.RenderComponent component
component that is rendered

Constructor Detail

AbstractListViewRenderer.RenderContext

protected AbstractListViewRenderer.RenderContext()