Code example for PropertyChangeSupport

Methods: addPropertyChangeListener

0
 
	public SamplePanel() throws Exception {} 
	 
	public void addPropertyChangeListener(PropertyChangeListener listener) {
		if (support != null) {
			support.addPropertyChangeListener(listener);
		} 
	} 
 
	public void removePropertyChangeListener(PropertyChangeListener listener) {
		if (support != null) {
			support.removePropertyChangeListener(listener);
		} 
	} 
	 
	/** 
	 * @return YAML content 
	 */ 
	public String getYaml() {return yaml;}
	 
Connect your IDE to all the code out there  Get Codota for Java