mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-14 01:27:34 -05:00
Channel editor and sub editors updates.
This commit is contained in:
@@ -52,7 +52,7 @@ public class ChannelEditor extends JPanel
|
|||||||
|
|
||||||
private final static Logger mLog = LoggerFactory.getLogger( ChannelEditor.class );
|
private final static Logger mLog = LoggerFactory.getLogger( ChannelEditor.class );
|
||||||
|
|
||||||
private ChannelConfigurationEditor mNameConfigurationEditor;
|
private NameConfigurationEditor mNameConfigurationEditor;
|
||||||
private DecodeComponentEditor mDecodeEditor;
|
private DecodeComponentEditor mDecodeEditor;
|
||||||
private AuxDecodeComponentEditor mAuxDecodeEditor;
|
private AuxDecodeComponentEditor mAuxDecodeEditor;
|
||||||
private EventLogComponentEditor mEventLogEditor;
|
private EventLogComponentEditor mEventLogEditor;
|
||||||
|
|||||||
@@ -23,6 +23,7 @@ import java.util.List;
|
|||||||
|
|
||||||
import javax.swing.JCheckBox;
|
import javax.swing.JCheckBox;
|
||||||
|
|
||||||
|
import net.miginfocom.swing.MigLayout;
|
||||||
import module.decode.config.AuxDecodeConfiguration;
|
import module.decode.config.AuxDecodeConfiguration;
|
||||||
import controller.channel.Channel;
|
import controller.channel.Channel;
|
||||||
import controller.channel.ChannelConfigurationEditor;
|
import controller.channel.ChannelConfigurationEditor;
|
||||||
@@ -38,6 +39,8 @@ public class AuxDecodeComponentEditor extends ChannelConfigurationEditor
|
|||||||
|
|
||||||
public AuxDecodeComponentEditor()
|
public AuxDecodeComponentEditor()
|
||||||
{
|
{
|
||||||
|
setLayout( new MigLayout( "fill,wrap 1", "[]", "[][][][][grow]" ) );
|
||||||
|
|
||||||
List<DecoderType> decoders = DecoderType.getAuxDecoders();
|
List<DecoderType> decoders = DecoderType.getAuxDecoders();
|
||||||
|
|
||||||
Collections.sort( decoders );
|
Collections.sort( decoders );
|
||||||
@@ -46,7 +49,7 @@ public class AuxDecodeComponentEditor extends ChannelConfigurationEditor
|
|||||||
{
|
{
|
||||||
AuxDecoderCheckBox control = new AuxDecoderCheckBox( decoder );
|
AuxDecoderCheckBox control = new AuxDecoderCheckBox( decoder );
|
||||||
|
|
||||||
add( control, "wrap" );
|
add( control );
|
||||||
|
|
||||||
mControls.add( control );
|
mControls.add( control );
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -21,6 +21,7 @@ import java.util.List;
|
|||||||
|
|
||||||
import javax.swing.JCheckBox;
|
import javax.swing.JCheckBox;
|
||||||
|
|
||||||
|
import net.miginfocom.swing.MigLayout;
|
||||||
import module.log.config.EventLogConfiguration;
|
import module.log.config.EventLogConfiguration;
|
||||||
import controller.channel.Channel;
|
import controller.channel.Channel;
|
||||||
import controller.channel.ChannelConfigurationEditor;
|
import controller.channel.ChannelConfigurationEditor;
|
||||||
@@ -38,9 +39,11 @@ public class EventLogComponentEditor extends ChannelConfigurationEditor
|
|||||||
|
|
||||||
public EventLogComponentEditor()
|
public EventLogComponentEditor()
|
||||||
{
|
{
|
||||||
add( mBinaryLogger, "span" );
|
setLayout( new MigLayout( "fill,wrap 1", "[]", "[][][][grow]" ) );
|
||||||
add( mDecodedLogger, "span" );
|
|
||||||
add( mCallEventLogger, "span" );
|
add( mBinaryLogger );
|
||||||
|
add( mDecodedLogger );
|
||||||
|
add( mCallEventLogger );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -21,6 +21,7 @@ import java.util.List;
|
|||||||
|
|
||||||
import javax.swing.JCheckBox;
|
import javax.swing.JCheckBox;
|
||||||
|
|
||||||
|
import net.miginfocom.swing.MigLayout;
|
||||||
import record.config.RecordConfiguration;
|
import record.config.RecordConfiguration;
|
||||||
import controller.channel.Channel;
|
import controller.channel.Channel;
|
||||||
import controller.channel.ChannelConfigurationEditor;
|
import controller.channel.ChannelConfigurationEditor;
|
||||||
@@ -38,9 +39,11 @@ public class RecordComponentEditor extends ChannelConfigurationEditor
|
|||||||
|
|
||||||
public RecordComponentEditor()
|
public RecordComponentEditor()
|
||||||
{
|
{
|
||||||
add( mAudioRecorder, "span" );
|
setLayout( new MigLayout( "fill,wrap 1", "[]", "[][][][grow]" ) );
|
||||||
add( mBasebandRecorder, "span" );
|
|
||||||
add( mTrafficBasebandRecorder, "span" );
|
add( mAudioRecorder );
|
||||||
|
add( mBasebandRecorder );
|
||||||
|
add( mTrafficBasebandRecorder );
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user