public class

MediaViewPanel

extends JPanel
implements ILockableEditor
java.lang.Object
   ↳ java.awt.Component
     ↳ java.awt.Container
       ↳ javax.swing.JComponent
         ↳ javax.swing.JPanel
           ↳ vars.knowledgebase.ui.MediaViewPanel

Class Overview

Displays properties of a single media

Summary

[Expand]
Inherited Constants
From class javax.swing.JComponent
From class java.awt.Component
From interface java.awt.image.ImageObserver
[Expand]
Inherited Fields
From class javax.swing.JComponent
Public Constructors
MediaViewPanel()
This is the default constructor
Public Methods
JTextArea getCaptionArea()
This method initializes captionArea
JTextArea getCreditArea()
This method initializes creditArea
Media getMedia()
JCheckBox getPrimaryCheckBox()
This method initializes primaryCheckBox
JComboBox getTypeComboBox()
This method initializes typeComboBox
JTextField getUrlField()
This method initializes urlField
JScrollPane getUrlScrollPane()
boolean isLocked()

void setLocked(boolean locked)

void setMedia(Media media)
[Expand]
Inherited Methods
From class javax.swing.JPanel
From class javax.swing.JComponent
From class java.awt.Container
From class java.awt.Component
From class java.lang.Object
From interface java.awt.MenuContainer
From interface java.awt.image.ImageObserver
From interface javax.accessibility.Accessible
From interface vars.shared.ui.ILockableEditor

Public Constructors

public MediaViewPanel ()

This is the default constructor

Public Methods

public JTextArea getCaptionArea ()

This method initializes captionArea

Returns
  • javax.swing.JTextArea

public JTextArea getCreditArea ()

This method initializes creditArea

Returns
  • javax.swing.JTextArea

public Media getMedia ()

Returns
  • the media

public JCheckBox getPrimaryCheckBox ()

This method initializes primaryCheckBox

Returns
  • javax.swing.JCheckBox

public JComboBox getTypeComboBox ()

This method initializes typeComboBox

Returns
  • javax.swing.JComboBox

public JTextField getUrlField ()

This method initializes urlField

Returns
  • javax.swing.JTextField

public JScrollPane getUrlScrollPane ()

public boolean isLocked ()

public void setLocked (boolean locked)

Parameters
locked the locked to set

public void setMedia (Media media)

Parameters
media the media to set