104 |
this.channel = channel; |
this.channel = channel; |
105 |
this.channelOptionsView = channelOptionsView; |
this.channelOptionsView = channelOptionsView; |
106 |
|
|
|
addMouseListener(channel.getContextMenu()); |
|
|
|
|
107 |
btnPower = new Channel.PowerButton(channel); |
btnPower = new Channel.PowerButton(channel); |
108 |
components.add(btnPower); |
components.add(btnPower); |
109 |
btnOptions = new Channel.OptionsButton(channel); |
btnOptions = new Channel.OptionsButton(channel); |
239 |
}); |
}); |
240 |
|
|
241 |
screen.installListeners(); |
screen.installListeners(); |
242 |
|
|
243 |
|
addEnhancedMouseListener(channel.getContextMenu()); |
244 |
} |
} |
245 |
|
|
246 |
public void |
public void |
247 |
uninstallView() { |
uninstallView() { |
248 |
screen.onDestroy(); |
screen.onDestroy(); |
249 |
|
//removeEnhancedMouseListener(channel.getContextMenu()); |
250 |
} |
} |
251 |
|
|
252 |
public ChannelOptionsView |
public ChannelOptionsView |
499 |
components.add(this); |
components.add(this); |
500 |
|
|
501 |
this.channel = channel; |
this.channel = channel; |
|
addMouseListener(channel.getContextMenu()); |
|
502 |
|
|
503 |
streamVoiceCountPane = new Channel.StreamVoiceCountPane(channel); |
streamVoiceCountPane = new Channel.StreamVoiceCountPane(channel); |
504 |
components.add(streamVoiceCountPane); |
components.add(streamVoiceCountPane); |
513 |
btnInstr.setAlignmentX(CENTER_ALIGNMENT); |
btnInstr.setAlignmentX(CENTER_ALIGNMENT); |
514 |
btnInstr.setRolloverEnabled(false); |
btnInstr.setRolloverEnabled(false); |
515 |
btnInstr.setBorder(BorderFactory.createEmptyBorder(3, 0, 0, 0)); |
btnInstr.setBorder(BorderFactory.createEmptyBorder(3, 0, 0, 0)); |
|
btnInstr.addMouseListener(channel.getContextMenu()); |
|
516 |
components.add(btnInstr); |
components.add(btnInstr); |
517 |
|
|
518 |
instrumentPane = new InstrumentPane(); |
instrumentPane = new InstrumentPane(); |
534 |
} |
} |
535 |
}); |
}); |
536 |
|
|
|
btnFxSends.addMouseListener(channel.getContextMenu()); |
|
|
|
|
537 |
p.add(btnFxSends); |
p.add(btnFxSends); |
538 |
|
|
539 |
//p.add(Box.createRigidArea(new Dimension(6, 0))); |
//p.add(Box.createRigidArea(new Dimension(6, 0))); |
542 |
components.add(btnEngine); |
components.add(btnEngine); |
543 |
btnEngine.setIcon(Res.iconEngine12); |
btnEngine.setIcon(Res.iconEngine12); |
544 |
btnEngine.setIconTextGap(1); |
btnEngine.setIconTextGap(1); |
|
btnEngine.addMouseListener(channel.getContextMenu()); |
|
545 |
p.add(btnEngine); |
p.add(btnEngine); |
546 |
//p.add(new Label("|")); |
//p.add(new Label("|")); |
547 |
|
|