Merge in DESIGN/design from ~LEO.QIN/design:newui to newui * commit 'b818ebb5d966e764dda8294930aef233916724fe': REPORT-107973 工具栏反白图标绘制 REPORT-107973 替换工具栏图标newui
@ -1,40 +0,0 @@ |
|||||||
package com.fine.theme.light.ui; |
|
||||||
|
|
||||||
import com.fine.theme.icon.LazyIcon; |
|
||||||
import com.formdev.flatlaf.ui.FlatMenuUI; |
|
||||||
|
|
||||||
import javax.swing.JComponent; |
|
||||||
import javax.swing.plaf.ComponentUI; |
|
||||||
import java.awt.Graphics; |
|
||||||
|
|
||||||
/** |
|
||||||
* 弹窗菜单UI |
|
||||||
* |
|
||||||
* @author Leo.Qin |
|
||||||
* @since 11.0 |
|
||||||
* Created on 2024/1/8 |
|
||||||
*/ |
|
||||||
public class FineMenuUI extends FlatMenuUI { |
|
||||||
|
|
||||||
|
|
||||||
/** |
|
||||||
* 创建UI |
|
||||||
* |
|
||||||
* @param c |
|
||||||
* @return |
|
||||||
*/ |
|
||||||
public static ComponentUI createUI(JComponent c) { |
|
||||||
return new FineMenuUI(); |
|
||||||
} |
|
||||||
|
|
||||||
@Override |
|
||||||
protected void installDefaults() { |
|
||||||
arrowIcon = new LazyIcon("triangle_right"); |
|
||||||
super.installDefaults(); |
|
||||||
} |
|
||||||
|
|
||||||
@Override |
|
||||||
public void paint(Graphics g, JComponent c) { |
|
||||||
super.paint(g, c); |
|
||||||
} |
|
||||||
} |
|
After Width: | Height: | Size: 558 B |
After Width: | Height: | Size: 559 B |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 702 B |
After Width: | Height: | Size: 705 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 2.5 KiB |
After Width: | Height: | Size: 2.5 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 797 B |
After Width: | Height: | Size: 798 B |
After Width: | Height: | Size: 769 B |
After Width: | Height: | Size: 770 B |
After Width: | Height: | Size: 928 B |
After Width: | Height: | Size: 937 B |
After Width: | Height: | Size: 508 B |
After Width: | Height: | Size: 509 B |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 779 B |
After Width: | Height: | Size: 778 B |
After Width: | Height: | Size: 856 B |
After Width: | Height: | Size: 855 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 668 B |
After Width: | Height: | Size: 669 B |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 899 B |
After Width: | Height: | Size: 900 B |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 1.9 KiB |