|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Box
A Box is a conceptual object that can appear on a page. It is an extension
of an Element
and provides methods that allow a Box to draw
itself and support connections to other boxes.
Implementors should directly implement this interface or one of its
implementations. DecoratorBox in particular.
Element
Method Summary | |
---|---|
void |
add(Connection connection)
Adds a Connection to this Box |
void |
addPropertyChangeListener(IPropertyChangeListener l)
Adds a listener to the box. |
BoxPrinter |
getBoxPrinter()
Gets the object responsible for drawing the preview and printing the contents of this box. |
java.lang.String |
getID()
Gets the id for the box. |
java.util.List |
getSourceConnections()
This is used by the GEF system to access the source connections on this Box |
java.util.List |
getTargetConnections()
This is used by the GEF system to access the target connections on this Box |
void |
notifyPropertyChange(PropertyChangeEvent event)
Can be called to notify listeners that a event has occurred. |
void |
remove(Connection connection)
Removes a Connection to this Box |
void |
removePropertyChangeListener(IPropertyChangeListener l)
removes a listener from the box. |
void |
setBoxPrinter(BoxPrinter value)
Sets the value of the ' Box Printer ' attribute. |
void |
setID(java.lang.String value)
Sets the value of the ' ID ' attribute. |
Methods inherited from interface net.refractions.udig.printing.model.Element |
---|
getLocation, getSize, setLocation, setSize |
Method Detail |
---|
java.util.List getSourceConnections()
java.util.List getTargetConnections()
void add(Connection connection)
connection
- the connection to add to this BoxConnection
void remove(Connection connection)
connection
- the connection to be removedConnection
BoxPrinter getBoxPrinter()
void setBoxPrinter(BoxPrinter value)
Box Printer
' attribute.
value
- the new value of the 'Box Printer' attribute.getBoxPrinter()
void notifyPropertyChange(PropertyChangeEvent event)
eventData
- void addPropertyChangeListener(IPropertyChangeListener l)
l
- the listener to add.void removePropertyChangeListener(IPropertyChangeListener l)
l
- the listener to remove.java.lang.String getID()
void setID(java.lang.String value)
ID
' attribute.
value
- the new value of the 'ID' attribute.getID()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |