use of com.github.bordertech.wcomponents.WLabel in project wcomponents by BorderTech.
the class LessThan method toString.
/**
* {@inheritDoc}
*/
@Override
public String toString() {
String triggerName = getTrigger().getClass().getSimpleName();
WLabel label = getTrigger().getLabel();
if (label != null) {
triggerName = label.getText();
}
return triggerName + "<\"" + getValue() + "\"";
}
use of com.github.bordertech.wcomponents.WLabel in project wcomponents by BorderTech.
the class Mandatory method toString.
/**
* {@inheritDoc}
*/
@Override
public String toString() {
String targetName = getTarget().getClass().getSimpleName();
WLabel label = getTarget().getLabel();
if (label != null) {
targetName = label.getText();
}
return "set " + targetName + " mandatory";
}
use of com.github.bordertech.wcomponents.WLabel in project wcomponents by BorderTech.
the class Match method toString.
/**
* {@inheritDoc}
*/
@Override
public String toString() {
String triggerName = getTrigger().getClass().getSimpleName();
WLabel label = getTrigger().getLabel();
if (label != null) {
triggerName = label.getText();
}
return triggerName + " matches \"" + getValue() + "\"";
}
use of com.github.bordertech.wcomponents.WLabel in project wcomponents by BorderTech.
the class Optional method toString.
/**
* {@inheritDoc}
*/
@Override
public String toString() {
String targetName = getTarget().getClass().getSimpleName();
WLabel label = getTarget().getLabel();
if (label != null) {
targetName = label.getText();
}
return "set " + targetName + " optional";
}
use of com.github.bordertech.wcomponents.WLabel in project wcomponents by BorderTech.
the class ShowInGroup method toString.
/**
* {@inheritDoc}
*/
@Override
public String toString() {
String targetInName = getTargetInGroup().getClass().getSimpleName();
WLabel label = getTargetInGroup().getLabel();
if (label != null) {
targetInName = label.getText();
}
return "show " + targetInName + " in " + getTarget();
}
Aggregations