コード例 #1
0
 /** Creates new form QTIAssessmentPanel */
 public QTIAssessmentPanel(QTIAssessment qtiAssessment, String sIdent, String sTitle) {
   this.qtiAssessment = qtiAssessment;
   initComponents();
   initComponents2();
   if (jpMetadataProperties != null) jpMetadataProperties.setID(sIdent);
   if (jpMetadataProperties != null) jpMetadataProperties.setTitle(sTitle);
   // tfIdent.setText(sIdent);
   // tfTitle.setText(sTitle);
   if (CreatorProperties.getBackground() != null || CreatorProperties.getComponentColor() != null)
     setBackground(CreatorProperties.getBackground());
   initMessages();
 }
コード例 #2
0
 public void setBackground(java.awt.Color c) {
   super.setBackground(c);
   if (jpMetadataProperties != null) jpMetadataProperties.setBackground(c);
 }
コード例 #3
0
 public String getTitle() {
   return (jpMetadataProperties != null) ? jpMetadataProperties.getTitle() : "";
 }
コード例 #4
0
 public String getIdent() {
   return (jpMetadataProperties != null) ? jpMetadataProperties.getID() : "";
 }