public class IlvMenuSeparator extends IlvMenuItem
Constructor and Description |
---|
IlvMenuSeparator()
Creates a new
IlvMenuSeparator instance. |
Modifier and Type | Method and Description |
---|---|
String |
getLabel()
Returns
"-" as a special value for the
separator. |
void |
setLabel(String label)
This method does nothing as the separator
only returns the
"-" label; |
fireActionPerformed, getActionListener, getBaseTextDirection, getId, getImage, getParent, isEnabled, setActionListener, setBaseTextDirection, setEnabled, setId, setImage, setParent
public IlvMenuSeparator()
IlvMenuSeparator
instance.public void setLabel(String label)
"-"
label;setLabel
in class IlvMenuItem
label
- The label ignoredpublic String getLabel()
"-"
as a special value for the
separator.getLabel
in class IlvMenuItem
"-"
label© Copyright Rogue Wave Software, Inc. 1997, 2018. All Rights Reserved.