id2col.put(IntPool.get(id), IntPool.get(i + 1));
colWidthCount += columnData[i].width;
if (id == 44) {
arrSectionData.add(new SectionData(
UIColors.getTableFirstSectionBG(),
UIColors.getTableFirstSectionFG(),
colWidthCount,
"MAIN"));
sectionIndex++;
colWidthCount = 0;
} else if (id == 48) {
arrSectionData.add(new SectionData(
UIColors.getTableSecondSectionBG(),
UIColors.getTableSecondSectionFG(),
colWidthCount,
"KEY WIN", new MouseAdapter() {
public void mouseReleased(MouseEvent e) {
if (e.isPopupTrigger()) {
new WinPopupMenu(WinValueProfile.ZPREF_keyWinDisplayMode).getPopupMenu().show(e.getComponent(), e.getX(), e.getY());
}
}
public void mousePressed(MouseEvent e) {
if (e.isPopupTrigger()) {
new WinPopupMenu(WinValueProfile.ZPREF_keyWinDisplayMode).getPopupMenu().show(e.getComponent(), e.getX(), e.getY());
}
}
public void mouseClicked(MouseEvent e) {
if (e.isPopupTrigger()) {
new WinPopupMenu(WinValueProfile.ZPREF_keyWinDisplayMode).getPopupMenu().show(e.getComponent(), e.getX(), e.getY());
} else if (e.getClickCount() >= 2) {
try {
WinValueProfile.ZPREF_keyWinDisplayMode.putValue((WinValueProfile.ZPREF_keyWinDisplayMode.getValue() + 1) % 3);
} catch (Exception e1) {
e1.printStackTrace();
}
}
}
}));
sectionIndex++;
colWidthCount = 0;
} else if (id == 52) {
arrSectionData.add(new SectionData(
UIColors.getTableThirdSectionBG(),
UIColors.getTableThirdSectionFG(),
colWidthCount,
"VELOCITY WIN", new MouseAdapter() {
public void mouseReleased(MouseEvent e) {
if (e.isPopupTrigger()) {
new WinPopupMenu(WinValueProfile.ZPREF_velWinDisplayMode).getPopupMenu().show(e.getComponent(), e.getX(), e.getY());
}
}
public void mousePressed(MouseEvent e) {
if (e.isPopupTrigger()) {
new WinPopupMenu(WinValueProfile.ZPREF_velWinDisplayMode).getPopupMenu().show(e.getComponent(), e.getX(), e.getY());
}
}
public void mouseClicked(MouseEvent e) {
if (e.isPopupTrigger()) {
new WinPopupMenu(WinValueProfile.ZPREF_velWinDisplayMode).getPopupMenu().show(e.getComponent(), e.getX(), e.getY());
} else if (e.getClickCount() >= 2) {
try {
WinValueProfile.ZPREF_velWinDisplayMode.putValue((WinValueProfile.ZPREF_velWinDisplayMode.getValue() + 1) % 3);
} catch (Exception e1) {
e1.printStackTrace();
}
}
}
}));
sectionIndex++;
colWidthCount = 0;
} else if (id == 56) {
arrSectionData.add(new SectionData(
UIColors.getTableFourthSectionBG(),
UIColors.getTableFourthSectionFG(),
colWidthCount,
"REALTIME WIN", new MouseAdapter() {
public void mouseReleased(MouseEvent e) {
if (e.isPopupTrigger()) {
new WinPopupMenu(WinValueProfile.ZPREF_rtWinDisplayMode).getPopupMenu().show(e.getComponent(), e.getX(), e.getY());
}
}
public void mousePressed(MouseEvent e) {
if (e.isPopupTrigger()) {
new WinPopupMenu(WinValueProfile.ZPREF_rtWinDisplayMode).getPopupMenu().show(e.getComponent(), e.getX(), e.getY());
}
}
public void mouseClicked(MouseEvent e) {
if (e.isPopupTrigger()) {
new WinPopupMenu(WinValueProfile.ZPREF_rtWinDisplayMode).getPopupMenu().show(e.getComponent(), e.getX(), e.getY());
} else if (e.getClickCount() >= 2) {
try {
WinValueProfile.ZPREF_rtWinDisplayMode.putValue((WinValueProfile.ZPREF_rtWinDisplayMode.getValue() + 1) % 3);
} catch (Exception e1) {
e1.printStackTrace();
}
}
}
}));
sectionIndex++;
colWidthCount = 0;
} else if (customIds.length > 0 && id == (customIds[customIds.length - 1]).intValue()) {
arrSectionData.add(new SectionData(
UIColors.getTableFifthSectionBG(),
UIColors.getTableFifthSectionFG(),
colWidthCount,
"USER"));
sectionIndex++;