com.jaxfront.core.ui
Class PrimitiveRowHeaderLabellingStrategy

java.lang.Object
  extended by com.jaxfront.core.ui.RowHeaderLabellingStrategy
      extended by com.jaxfront.core.ui.PrimitiveRowHeaderLabellingStrategy

public class PrimitiveRowHeaderLabellingStrategy
extends RowHeaderLabellingStrategy

Provides simple labelling via displaying a counter for the header.

Version:
1.60

Constructor Summary
PrimitiveRowHeaderLabellingStrategy()
           
 
Method Summary
 java.lang.String getRowHeader(Type type)
          simply increases the row counter by one and returns the value
 int getWidth()
          Returns the header name for a type.
 boolean isPrimitive()
          Returns true if the row header strategy is primitve.
 
Methods inherited from class com.jaxfront.core.ui.RowHeaderLabellingStrategy
create, shouldSwitchHeadersOnMove
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrimitiveRowHeaderLabellingStrategy

public PrimitiveRowHeaderLabellingStrategy()
Method Detail

getRowHeader

public java.lang.String getRowHeader(Type type)
simply increases the row counter by one and returns the value

Specified by:
getRowHeader in class RowHeaderLabellingStrategy
See Also:
com.jaxfront.core.ui.model.RowHeaderLabellingStrategy#getRowHeader(Type)

isPrimitive

public boolean isPrimitive()
Description copied from class: RowHeaderLabellingStrategy
Returns true if the row header strategy is primitve.

Overrides:
isPrimitive in class RowHeaderLabellingStrategy
See Also:
com.jaxfront.core.ui.model.RowHeaderLabellingStrategy#isPrimitive()

getWidth

public int getWidth()
Description copied from class: RowHeaderLabellingStrategy
Returns the header name for a type.

Specified by:
getWidth in class RowHeaderLabellingStrategy