public class RequiredLabelComposite
extends org.eclipse.swt.widgets.Composite
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field
|
Constructor and Description |
---|
RequiredLabelComposite(org.eclipse.swt.widgets.Composite parent, int style)
Constructs the required label composite.
|
RequiredLabelComposite(org.eclipse.swt.widgets.Composite parent, int compositeStyle, int reqLabelStyle, int textLabelStyle)
Constructs the required label composite.
|
Modifier and Type | Method and Description |
---|---|
org.eclipse.swt.widgets.Label | getRequiredIndicatorLabel()
Gets the required field indicator label.
|
org.eclipse.swt.widgets.Label | getRequiredLabel()
Gets the required field label.
|
protected void | mnemonicPressed()
Handles mnemonics set in the required composite's text label.
|
void | setFont(org.eclipse.swt.graphics.Font font)
Sets the font that the required label will use to paint textual information to the font specified by the argument.
|
void | setRequiredFieldIndicator(org.eclipse.swt.graphics.Color indicatorColor)
Sets the required field indicator to the required field label
|
void | setRequiredLabelText(java.lang.String text)
Sets the required field label text.
|
public static final java.lang.String COPYRIGHT
public RequiredLabelComposite(org.eclipse.swt.widgets.Composite parent, int style)
public RequiredLabelComposite(org.eclipse.swt.widgets.Composite parent, int compositeStyle, int reqLabelStyle, int textLabelStyle)
public org.eclipse.swt.widgets.Label getRequiredIndicatorLabel()
public org.eclipse.swt.widgets.Label getRequiredLabel()
public void setRequiredFieldIndicator(org.eclipse.swt.graphics.Color indicatorColor)
public void setRequiredLabelText(java.lang.String text)
public void setFont(org.eclipse.swt.graphics.Font font)
protected void mnemonicPressed()