帆软报表设计器源代码。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

28 lines
705 B

/*
* Copyright(c) 2001-2010, FineReport Inc, All Rights Reserved.
*/
package com.fr.design.designer.properties;
import java.awt.Component;
import com.fr.design.gui.ilable.UILabel;
import javax.swing.JTable;
import javax.swing.table.TableCellRenderer;
/**
* @author richer
* @since 6.5.3
*/
public class FRBorderLayoutConstraintsRenderer extends UILabel implements TableCellRenderer {
@Override
public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) {
if (value != null) {
this.setText(com.fr.design.i18n.Toolkit.i18nText("BorderLayout-" + value));
}
return this;
}
}