org.nakedobjects.nos.client.dnd.basic.DragContentSpecification Maven / Gradle / Ivy
The newest version!
package org.nakedobjects.nos.client.dnd.basic;
import org.nakedobjects.nos.client.dnd.Content;
import org.nakedobjects.nos.client.dnd.Toolkit;
import org.nakedobjects.nos.client.dnd.View;
import org.nakedobjects.nos.client.dnd.ViewAxis;
import org.nakedobjects.nos.client.dnd.border.LineBorder;
public class DragContentSpecification extends IconSpecification {
public View createView(Content content, ViewAxis axis) {
View icon = super.createView(content, axis);
return new LineBorder(1, Toolkit.getColor("secondary1"), icon);
}
}
// Copyright (c) Naked Objects Group Ltd.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy