19 package org.sleuthkit.autopsy.corecomponents;
21 import java.awt.Dimension;
22 import java.awt.Point;
23 import java.awt.Polygon;
24 import java.awt.Rectangle;
25 import javax.swing.DefaultSingleSelectionModel;
26 import javax.swing.JComponent;
27 import javax.swing.SingleSelectionModel;
28 import javax.swing.plaf.ComponentUI;
29 import org.netbeans.swing.tabcontrol.TabDisplayer;
30 import org.netbeans.swing.tabcontrol.TabDisplayerUI;
45 public static ComponentUI
createUI(JComponent jc) {
46 assert jc instanceof TabDisplayer;
50 private static final int[]
PTS =
new int[]{0, 0, 0};
54 return new Polygon(PTS, PTS, PTS.length);
58 return new Polygon(PTS, PTS, PTS.length);
65 public Rectangle
getTabRect(
int i, Rectangle rectangle) {
66 return new Rectangle(0, 0, 0, 0);
70 return new DefaultSingleSelectionModel();
98 return new Dimension(0, 0);
102 return new Dimension(0, 0);
106 return new Dimension(0, 0);
Dimension getMaximumSize(javax.swing.JComponent c)
Dimension getMinimumSize(javax.swing.JComponent c)
Polygon getExactTabIndication(int i)
SingleSelectionModel createSelectionModel()
Dimension getPreferredSize(javax.swing.JComponent c)
NoTabsTabDisplayerUI(TabDisplayer displayer)
Rectangle getTabRect(int i, Rectangle rectangle)
void cancelRequestAttention(int i)
void unregisterShortcuts(javax.swing.JComponent jComponent)
Polygon getInsertTabIndication(int i)
static ComponentUI createUI(JComponent jc)
java.lang.String getCommandAtPoint(Point point)
int tabForCoordinate(Point point)
void requestAttention(int i)
void registerShortcuts(javax.swing.JComponent jComponent)
int dropIndexOfPoint(Point point)