org.eclipse.nebula.widgets.nattable.layer
Class LabelStack

java.lang.Object
  extended by org.eclipse.nebula.widgets.nattable.layer.LabelStack

public class LabelStack
extends Object


Constructor Summary
LabelStack(String... labelNames)
           
 
Method Summary
 void addLabel(String label)
          Adds a label to the bottom of the label stack.
 void addLabelOnTop(String label)
          Adds a label to the top of the label stack.
 boolean equals(Object obj)
           
 List<String> getLabels()
           
 int hashCode()
           
 boolean hasLabel(String label)
           
 boolean removeLabel(String label)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LabelStack

public LabelStack(String... labelNames)
Method Detail

addLabel

public void addLabel(String label)
Adds a label to the bottom of the label stack.

Parameters:
label -

addLabelOnTop

public void addLabelOnTop(String label)
Adds a label to the top of the label stack.

Parameters:
label -

getLabels

public List<String> getLabels()

hasLabel

public boolean hasLabel(String label)

removeLabel

public boolean removeLabel(String label)

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2015. All rights reserved.