All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.intarsys.tools.presentation.PropertyPresentation Maven / Gradle / Ivy

There is a newer version: 4.11
Show newest version
package de.intarsys.tools.presentation;

/**
 * Common superclass for the PropertyPresentation implementation.
 * 

* This implementation summarizes all methods for representing the "field" * (meta) part of the presentation. * */ abstract public class PropertyPresentation implements IPresentationSupport { private final String label; private final Object object; protected PropertyPresentation(Object object, String label) { super(); this.object = object; this.label = label; } public String getDescription() { return getTip(); } public IPresentationSupport getFieldPresentation() { return this; } public String getIconName() { return null; } public String getLabel() { return label; } public Object getObject() { return object; } public String getTip() { return getLabel(); } public IPresentationSupport getValuePresentation() { return this; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy