use of com.github.bordertech.wcomponents.WLabel in project wcomponents by BorderTech.
the class DisableInGroup method toString.
/**
* {@inheritDoc}
*/
@Override
public String toString() {
String targetInName = getTargetInGroup().getClass().getSimpleName();
WLabel label = getTargetInGroup().getLabel();
if (label != null) {
targetInName = label.getText();
}
return "disable " + targetInName + " in " + getTarget();
}
use of com.github.bordertech.wcomponents.WLabel in project wcomponents by BorderTech.
the class Enable method toString.
/**
* {@inheritDoc}
*/
@Override
public String toString() {
String targetName = getTarget().getClass().getSimpleName();
WLabel label = getTarget().getLabel();
if (label != null) {
targetName = label.getText();
}
return "enable " + targetName;
}
use of com.github.bordertech.wcomponents.WLabel in project wcomponents by BorderTech.
the class Equal 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 HideInGroup method toString.
/**
* {@inheritDoc}
*/
@Override
public String toString() {
String targetInName = getTargetInGroup().getClass().getSimpleName();
WLabel label = getTargetInGroup().getLabel();
if (label != null) {
targetInName = label.getText();
}
return "hide " + targetInName + " in " + getTarget();
}
use of com.github.bordertech.wcomponents.WLabel in project wcomponents by BorderTech.
the class LessThanOrEqual 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() + "\"";
}
Aggregations