fontItalicButton = new Togglebutton("I");
fontItalicButton.onClicked(fontItalicCallback);
fontProperties.add(fontItalicButton);
fontAlignLeft = new TIB("cr22-action-text_left.png", new SAction(){
@Override
public void execute() throws Exception {
if(manager.propMan.isClassAvailable(SText.class)) {
manager.propMan.getProperty("halign").setValue(SText.HAlign.Left);
}
}
});
fontAlignHCenter = new TIB("cr22-action-text_center.png", new SAction(){
@Override
public void execute() throws Exception {
if(manager.propMan.isClassAvailable(SText.class)) {
manager.propMan.getProperty("halign").setValue(SText.HAlign.Center);
}
}
});
fontAlignRight = new TIB("cr22-action-text_right.png", new SAction(){
@Override
public void execute() throws Exception {
if(manager.propMan.isClassAvailable(SText.class)) {
manager.propMan.getProperty("halign").setValue(SText.HAlign.Right);
}