⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cardinfo.java

📁 JAVA guI设计的一个名片。可能还有很多不足之处
💻 JAVA
字号:
/*
 * CardInfo.java
 *
 * Created on 2006年3月3日, 上午5:05
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package org.netbeans.swing.cardmanage;

/**
 *
 * @author boyingking
 */
public class CardInfo {
    
    /** Creates a new instance of CardInfo */
    public CardInfo() {
    }

    private String name;
    private String address;
    private String phone;
    private String email;
    private boolean singState;
    private boolean danceState;
    private boolean chatState;
    private boolean footBallState;
    private boolean basketBallState;
    private boolean volleyBallState;
    private boolean bachelorState;
    private boolean masterState;
    private boolean doctorState;
    private boolean otherState;
    public void setName(String name)
   {
       this.name=name;
   }
   public String getName()
   {
       return this.name;
   }
   public void setAddress(String address)
   {
       this.address=address;
   }
    public String getAddress()
   {
       return this.address;
   }
   public void setPhone(String phone)
   {
       this.phone=phone;
   }    
    public String getPhone()
   {
       return this.phone;
   }  
   public void setEmail(String email)
   {
       this.email=email;
   }       
    public String getEmail()
   {
       return this.email;
   }     
   public void setSingState(boolean singState)
   {
       this.singState=singState;
   }       
    public boolean getSingState()
   {
       return this.singState;
   }    
   public void setDanceState(boolean danceState)
   {
       this.danceState=danceState;
   }       
    public boolean getDanceState()
   {
       return this.danceState;
   }     
   public void setChatState(boolean chatState)
   {
       this.chatState=chatState;
   }       
    public boolean getChatState()
   {
       return this.chatState;
   }         
   public void setFootBallState(boolean footBallState)
   {
       this.footBallState=footBallState;
   }       
    public boolean getFootBallState()
   {
       return this.footBallState;
   }     
   public void setBasketBallState(boolean basketBallState)
   {
       this.basketBallState=basketBallState;
   }       
    public boolean getBasketBallState()
   {
       return this.footBallState;
   }      
   public void setVolleyBallState(boolean volleyBallState)
   {
       this.volleyBallState=volleyBallState;
   }       
    public boolean getVolleyBallState()
   {
       return this.volleyBallState;
   }     
   public void setBachelorState(boolean bachelorState)
   {
       this.bachelorState=bachelorState;
   }       
    public boolean getBachelorState()
   {
       return this.bachelorState;
   }    
    public void setMasterState(boolean masterState)
   {
       this.masterState=masterState;
   }       
    public boolean getMasterState()
   {
       return this.masterState;
   }       
    public void setDoctorState(boolean doctorState)
   {
       this.doctorState=doctorState;
   }       
    public boolean getDoctorState()
   {
       return this.doctorState;
   }    
    public void setOtherState(boolean otherState)
   {
       this.otherState=otherState;
   }       
    public boolean getOtherState()
   {
       return this.otherState;
   }      
   
   
   
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -