本文整理汇总了Java中org.kuali.rice.krad.uif.widget.Help类的典型用法代码示例。如果您正苦于以下问题:Java Help类的具体用法?Java Help怎么用?Java Help使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
Help类属于org.kuali.rice.krad.uif.widget包,在下文中一共展示了Help类的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getAdditionalTemplates
import org.kuali.rice.krad.uif.widget.Help; //导入依赖的package包/类
/**
* {@inheritDoc}
*/
@Override
public List<String> getAdditionalTemplates() {
List<String> additionalTemplates = super.getAdditionalTemplates();
Object parent = getContext().get(UifConstants.ContextVariableNames.PARENT);
Help help = null;
if (parent instanceof Group) {
help = ((Group) parent).getHelp();
} else if (parent instanceof View) {
help = ((View) parent).getHelp();
}
if (help != null) {
String helpTemplate = help.getTemplate();
if (additionalTemplates.isEmpty()) {
additionalTemplates = new ArrayList<String>();
}
additionalTemplates.add(helpTemplate);
}
return additionalTemplates;
}
示例2: getHelp
import org.kuali.rice.krad.uif.widget.Help; //导入依赖的package包/类
/**
* {@inheritDoc}
*/
@Override
@BeanTagAttribute(type = BeanTagAttribute.AttributeType.DIRECTORBYTYPE)
public Help getHelp() {
return this.help;
}
示例3: setHelp
import org.kuali.rice.krad.uif.widget.Help; //导入依赖的package包/类
/**
* {@inheritDoc}
*/
@Override
public void setHelp(Help help) {
this.help = help;
}
示例4: getHelp
import org.kuali.rice.krad.uif.widget.Help; //导入依赖的package包/类
/**
* {@inheritDoc}
*/
@Override
@BeanTagAttribute(type= BeanTagAttribute.AttributeType.DIRECTORBYTYPE)
public Help getHelp() {
return this.help;
}
示例5: getHelp
import org.kuali.rice.krad.uif.widget.Help; //导入依赖的package包/类
/**
* @see org.kuali.rice.krad.uif.widget.Helpable#getHelp()
*/
@Override
@BeanTagAttribute(name="help",type= BeanTagAttribute.AttributeType.SINGLEBEAN)
public Help getHelp() {
return this.help;
}
示例6: setHelp
import org.kuali.rice.krad.uif.widget.Help; //导入依赖的package包/类
/**
* @see org.kuali.rice.krad.uif.widget.Helpable#setHelp(org.kuali.rice.krad.uif.widget.Help)
*/
@Override
public void setHelp(Help help) {
this.help = help;
}
示例7: getHelp
import org.kuali.rice.krad.uif.widget.Help; //导入依赖的package包/类
/**
* Help configuration object for the datafield
*
* <p>
* External help information can be configured for the datafield. The
* <code>Help</code> object can the configuration for rendering a link to
* that help information.
* </p>
*
* @return Help for datafield
*/
@Override
@BeanTagAttribute(name = "help", type = BeanTagAttribute.AttributeType.SINGLEBEAN)
public Help getHelp() {
return this.help;
}
示例8: setHelp
import org.kuali.rice.krad.uif.widget.Help; //导入依赖的package包/类
/**
* Setter for the datafield help content
*
* @param help
*/
@Override
public void setHelp(Help help) {
this.help = help;
}