|
|
|
@ -1,26 +1,30 @@
|
|
|
|
|
package com.fr.grid; |
|
|
|
|
|
|
|
|
|
import java.awt.*; |
|
|
|
|
import java.awt.font.FontRenderContext; |
|
|
|
|
import java.awt.geom.Rectangle2D; |
|
|
|
|
|
|
|
|
|
import javax.swing.JComponent; |
|
|
|
|
import javax.swing.UIManager; |
|
|
|
|
import javax.swing.plaf.ComponentUI; |
|
|
|
|
|
|
|
|
|
import com.fr.design.mainframe.DesignerUIModeConfig; |
|
|
|
|
import com.fr.stable.AssistUtils; |
|
|
|
|
import com.formdev.flatlaf.ui.FlatUIUtils; |
|
|
|
|
import com.fr.base.DynamicUnitList; |
|
|
|
|
import com.fr.base.GraphHelper; |
|
|
|
|
import com.fr.base.vcs.DesignerMode; |
|
|
|
|
import com.fr.cache.list.IntList; |
|
|
|
|
import com.fr.design.constants.UIConstants; |
|
|
|
|
import com.fr.design.mainframe.DesignerUIModeConfig; |
|
|
|
|
import com.fr.design.mainframe.ElementCasePane; |
|
|
|
|
import com.fr.design.roleAuthority.ReportAndFSManagePane; |
|
|
|
|
import com.fr.grid.selection.Selection; |
|
|
|
|
import com.fr.privilege.finegrain.ColumnRowPrivilegeControl; |
|
|
|
|
import com.fr.report.ReportHelper; |
|
|
|
|
import com.fr.report.elementcase.ElementCase; |
|
|
|
|
import com.fr.stable.AssistUtils; |
|
|
|
|
|
|
|
|
|
import javax.swing.JComponent; |
|
|
|
|
import javax.swing.UIManager; |
|
|
|
|
import javax.swing.plaf.ComponentUI; |
|
|
|
|
import java.awt.AlphaComposite; |
|
|
|
|
import java.awt.Color; |
|
|
|
|
import java.awt.Dimension; |
|
|
|
|
import java.awt.Graphics; |
|
|
|
|
import java.awt.Graphics2D; |
|
|
|
|
import java.awt.font.FontRenderContext; |
|
|
|
|
import java.awt.geom.Rectangle2D; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* @editor zhou |
|
|
|
@ -77,6 +81,7 @@ public class GridRowUI extends ComponentUI {
|
|
|
|
|
// draw top border line.
|
|
|
|
|
g2d.setPaint(gridRow.getSeparatorLineColor()); |
|
|
|
|
GraphHelper.drawLine(g2d, 0, 0, size.getWidth(), 0); |
|
|
|
|
FlatUIUtils.setRenderingHints(g2d); |
|
|
|
|
// draw row
|
|
|
|
|
drawRow(verticalBeginValue, verticalEndValue, rowHeightList, resolution, gridRow, g2d); |
|
|
|
|
} |
|
|
|
|