public class HeaderLabelUtil
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
HeaderLabelUtil.HeaderLabelBuiltinExpression
private static JRTextField getProxy(final JRTextField textField, final SortOrderEnum sortOrder)
{
return
(JRTextField)Proxy.newProxyInstance(
HeaderLabelUtil.class.getClassLoader(),
new Class>[]{JRTextField.class},
new InvocationHandler()
{
public Object invoke(
Object proxy,
Method method,
Object[] args
) throws Throwable
{
if ("getExpression".equals(method.getName()))
{
JRDesignExpression expression = new JRDesignExpression();
return
Color.blue;
}
if ("visit".equals(method.getName()))
{
((JRVisitor)args[0]).visitTextField((JRTextField)proxy);
return null;
}
return method.invoke(textField, args);
}
}
);
}
/**
|
Constructor and Description |
---|
HeaderLabelUtil() |
Modifier and Type | Method and Description |
---|---|
static HeaderLabelUtil.HeaderLabelBuiltinExpression |
alterHeaderLabel(JRDesignFrame frame,
java.lang.String suffix) |
public static HeaderLabelUtil.HeaderLabelBuiltinExpression alterHeaderLabel(JRDesignFrame frame, java.lang.String suffix)
© 2001-2014 TIBCO Software Inc. www.jaspersoft.com