| java.lang.Object org.netbeans.swing.popupswitcher.SwitcherTableItem
SwitcherTableItem | public class SwitcherTableItem implements Comparable(Code) | | Represents one item in SwitcherTable.
See Also: SwitcherTable author: mkrauskopf |
Inner Class :public static interface Activatable | |
Constructor Summary | |
public | SwitcherTableItem(Activatable activatable, String name) | public | SwitcherTableItem(Activatable activatable, String name, Icon icon) | public | SwitcherTableItem(Activatable activatable, String name, String htmlName, Icon icon, boolean active) | public | SwitcherTableItem(Activatable activatable, String name, String htmlName, Icon icon, boolean active, String description) |
SwitcherTableItem | public SwitcherTableItem(Activatable activatable, String name)(Code) | | Creates a new instance of SwitcherTableItem
|
SwitcherTableItem | public SwitcherTableItem(Activatable activatable, String name, Icon icon)(Code) | | Creates a new instance of SwitcherTableItem
|
SwitcherTableItem | public SwitcherTableItem(Activatable activatable, String name, String htmlName, Icon icon, boolean active)(Code) | | Creates a new instance of SwitcherTableItem
|
SwitcherTableItem | public SwitcherTableItem(Activatable activatable, String name, String htmlName, Icon icon, boolean active, String description)(Code) | | Creates a new instance of SwitcherTableItem
|
compareTo | public int compareTo(Object o)(Code) | | Compares items based on theirs name s. Items which has
null-name will be last.
|
equals | public boolean equals(Object o)(Code) | | Returns true if the name and activatable are the
same as passed one.
|
getActivatable | public Activatable getActivatable()(Code) | | Returns item's activatable object
|
getDescription | public String getDescription()(Code) | | Return item's description - the text which can be used for arbitrary
purpose. E.g. KeyboardPopupSwitcher uses it for statusbar
text.
|
getHtmlName | public String getHtmlName()(Code) | | Returns item's html name.
|
getIcon | public Icon getIcon()(Code) | | Returns item's icon
|
hashCode | public int hashCode()(Code) | | Returns a hash code value for the item.
int hashcode |
isActive | public boolean isActive()(Code) | | Returns whether this item is active or not.
|
toString | public String toString()(Code) | | Returns human readable description of this item
|
|
|