• 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏吧

Java JideTabbedPane类的典型用法和代码示例

java 2次浏览

本文整理汇总了Java中com.jidesoft.swing.JideTabbedPane的典型用法代码示例。如果您正苦于以下问题:Java JideTabbedPane类的具体用法?Java JideTabbedPane怎么用?Java JideTabbedPane使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。

JideTabbedPane类属于com.jidesoft.swing包,在下文中一共展示了JideTabbedPane类的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: init

点赞 3

import com.jidesoft.swing.JideTabbedPane; //导入依赖的package包/类
private void init()
    {
        setLayout( new MigLayout( "insets 0 0 0 0", "[grow,fill]", "[grow,fill]") );

        JideTabbedPane tabbedPane = new JideTabbedPane();
        tabbedPane.addTab("Details", mChannelDetailPanel);
        tabbedPane.addTab("Events", mCallEventPanel);
        tabbedPane.addTab("Messages", mMessageActivityPanel);
//        tabbedPane.addTab("Spectrum", mChannelSpectrumPanel);
        tabbedPane.setFont(this.getFont());
        tabbedPane.setForeground(Color.BLACK);

        JideSplitPane splitPane = new JideSplitPane(JideSplitPane.VERTICAL_SPLIT);
        splitPane.setShowGripper(true);
        splitPane.add(mChannelMetadataPanel);
        splitPane.add(tabbedPane);
        add(splitPane);

        mChannelMetadataPanel.addProcessingChainSelectionListener(mChannelDetailPanel);
        mChannelMetadataPanel.addProcessingChainSelectionListener(mCallEventPanel);
        mChannelMetadataPanel.addProcessingChainSelectionListener(mMessageActivityPanel);
    }
 

开发者ID:DSheirer,
项目名称:sdrtrunk,
代码行数:23,
代码来源:ChannelMetadataViewer.java

示例2: init

点赞 3

import com.jidesoft.swing.JideTabbedPane; //导入依赖的package包/类
private void init()
{
    setLayout(new MigLayout("insets 0 0 0 0 ", "[grow,fill]", "[]0[grow,fill]0[]"));

    add(mAudioPanel, "wrap");

    //Tabbed View - configuration, calls, messages, map
    mTabbedPane = new JideTabbedPane();
    mTabbedPane.setFont(this.getFont());
    mTabbedPane.setForeground(Color.BLACK);
    mTabbedPane.addTab("Now Playing", mChannelMetadataViewer);
    mTabbedPane.addTab("Aliases", mAliasController);
    mTabbedPane.addTab("Channels", mChannelController);
    mTabbedPane.addTab("Map", mMapPanel);
    mTabbedPane.addTab("Streaming", mBroadcastPanel);
    mTabbedPane.addTab("Tuners", mTunerManagerPanel);

    //Set preferred size to influence the split between these panels
    mTabbedPane.setPreferredSize(new Dimension(880, 500));

    add(mTabbedPane,"wrap");
}
 

开发者ID:DSheirer,
项目名称:sdrtrunk,
代码行数:23,
代码来源:ControllerPanel.java

示例3: init

点赞 2

import com.jidesoft.swing.JideTabbedPane; //导入依赖的package包/类
private void init()
{
	setLayout( new MigLayout( "fill,wrap 2", "[grow,fill][grow,fill]", 
			"[][][][][][grow,fill]" ) );
	
	add( new JLabel( "Alias:" ), "align right" );
	mAliasLabel = new JLabel( DEFAULT_NAME );
	add( mAliasLabel, "align left" );
	
	add( new JSeparator( JSeparator.HORIZONTAL ), "span,growx,push" );
	
	JideTabbedPane tabs = new JideTabbedPane();
	tabs.setFont( this.getFont() );
   	tabs.setForeground( Color.BLACK );

	tabs.addTab( "Alias", mAliasNameEditor );
	tabs.addTab( "Audio / Identifier", mAliasIdentifierEditor );
	tabs.addTab( "Action", mAliasActionEditor );
	add( tabs, "span,grow" );
	
	//Playlist management buttons
	JButton btnSave = new JButton( "Save" );
	btnSave.setToolTipText( "Save alias changes to the playlist" );
	btnSave.addActionListener( AliasEditor.this );
	add( btnSave );

	JButton btnReset = new JButton( "Reset" );
	btnReset.setToolTipText( "Reset alias changes since last save" );
	btnReset.addActionListener( AliasEditor.this );
	add( btnReset, "wrap" );
}
 

开发者ID:DSheirer,
项目名称:sdrtrunk,
代码行数:32,
代码来源:AliasEditor.java

示例4: constructDocumentPane

点赞 2

import com.jidesoft.swing.JideTabbedPane; //导入依赖的package包/类
private DocumentPane constructDocumentPane(){
	DocumentPane documentPane;
	if(doubleClickMaximizeEnabled){
		documentPane = new DocumentPane(){
            // add function to maximize (autohideAll) the document pane when mouse 
    		// double clicks on the tabs of DocumentPane. This comes from the JIDE
    		// demos
            protected IDocumentGroup createDocumentGroup() {
                IDocumentGroup group = super.createDocumentGroup();
                if (group instanceof JideTabbedPane) {
                	JideTabbedPane tabbedPane = (JideTabbedPane)group;
                	tabbedPane.addMouseListener(tabDoubleClickListener);
                    //((JideTabbedPaneUI) ((JideTabbedPane) group).getUI()).getTabPanel().
                    //		addMouseListener(tabDoubleClickListener);
                }
                return group;
            }
		};
	}
	else{
		documentPane = new DocumentPane();
	}
	documentPane.setHeavyweightComponentEnabled(heavyweightComponentEnabled);
	documentPane.setTabbedPaneCustomizer(tabbedPaneCustomizer);
	documentPane.setReorderAllowed(reorderAllowed);
	documentPane.setShowContextMenu(showContextMenu);
	documentPane.setTabPlacement(tabPlacement);
	documentPane.setUpdateTitle(updateTitle);
	documentPane.setGroupsAllowed(groupsAllowed);
	documentPane.setMaximumGroupCount(maxGroupCount);
	if(titleConverter != null){
		documentPane.setTitleConverter(titleConverter);
	}
	if(popupMenuCustomizer != null){
		documentPane.setPopupMenuCustomizer(popupMenuCustomizer);
	}
	return documentPane;
}
 

开发者ID:shevek,
项目名称:spring-rich-client,
代码行数:39,
代码来源:WorkspaceView.java

示例5: init

点赞 2

import com.jidesoft.swing.JideTabbedPane; //导入依赖的package包/类
private void init()
{
	setLayout( new MigLayout( "fill,wrap 3", "[grow,fill][grow,fill][grow,fill]", "[grow,fill][]" ) );
	
	JideTabbedPane tabs = new JideTabbedPane();
	tabs.setFont( this.getFont() );
   	tabs.setForeground( Color.BLACK );

   	tabs.setTabTrailingComponent( mChannelName );
   	
	mNameConfigurationEditor.setSaveRequestListener( this );
   	tabs.addTab( "Name/Alias", mNameConfigurationEditor );
   	
	mSourceConfigurationEditor = new SourceConfigurationEditor( mSourceManager );
	mSourceConfigurationEditor.setSaveRequestListener( this );
	tabs.addTab( "Source", mSourceConfigurationEditor );
	
	mDecodeConfigurationEditor = new DecodeConfigurationEditor( mChannelMapModel );
	mDecodeConfigurationEditor.setSaveRequestListener( this );
	tabs.addTab( "Decoder", mDecodeConfigurationEditor );

	mAuxDecodeConfigurationEditor = new AuxDecodeConfigurationEditor();
	mAuxDecodeConfigurationEditor.setSaveRequestListener( this );
	tabs.addTab( "Aux Decoders", mAuxDecodeConfigurationEditor );

	mEventLogConfigurationEditor = new EventLogConfigurationEditor();
	mEventLogConfigurationEditor.setSaveRequestListener( this );
	tabs.addTab( "Logging", mEventLogConfigurationEditor );
	
	mRecordConfigurationEditor = new RecordConfigurationEditor();
	mRecordConfigurationEditor.setSaveRequestListener( this );
	tabs.addTab( "Recording", mRecordConfigurationEditor );

	add( tabs, "span" );

	mEnableButton.addActionListener( this );
	mEnableButton.setEnabled( false );
	mEnableButton.setToolTipText( "Start the currently selected channel running/decoding" );
	add( mEnableButton );

	JButton btnSave = new JButton( "Save" );
	btnSave.setToolTipText( "Save changes to the currently selected channel" );
	btnSave.addActionListener( ChannelEditor.this );
	add( btnSave );

	JButton btnReset = new JButton( "Reset" );
	btnReset.setToolTipText( "Reload the currently selected channel" );
	btnReset.addActionListener( ChannelEditor.this );
	add( btnReset );
}
 

开发者ID:DSheirer,
项目名称:sdrtrunk,
代码行数:51,
代码来源:ChannelEditor.java

示例6: customize

点赞 2

import com.jidesoft.swing.JideTabbedPane; //导入依赖的package包/类
public void customize(JideTabbedPane tabbedPane) {
}
 

开发者ID:shevek,
项目名称:spring-rich-client,
代码行数:3,
代码来源:JideApplicationWindowFactory.java

示例7: customize

点赞 2

import com.jidesoft.swing.JideTabbedPane; //导入依赖的package包/类
public void customize(JideTabbedPane tabbedPane) {
	tabbedPane.setRequestFocusEnabled(true);
}
 

开发者ID:shevek,
项目名称:spring-rich-client,
代码行数:4,
代码来源:WorkspaceView.java


版权声明:本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系管理员进行删除。
喜欢 (0)