public interface EntityPlotter extends PlotConstants
ALIGN_POSITION_BUTTOM, ALIGN_POSITION_CENTER_HORIZONTAL, ALIGN_POSITION_CENTER_VERTICAL, ALIGN_POSITION_LEFT, ALIGN_POSITION_RIGHT, ALIGN_POSITION_SPACE_HORIZONTAL, ALIGN_POSITION_SPACE_VERTICAL, ALIGN_POSITION_STAIR_LEFT, ALIGN_POSITION_STAIR_RIGHT, ALIGN_POSITION_TOP, ALIGNMENT_BUTTOM, ALIGNMENT_CENTER, ALIGNMENT_LEFT, ALIGNMENT_MIDDLE, ALIGNMENT_RIGHT, ALIGNMENT_TOP, POSITION_BUT, POSITION_BUT_LEFT, POSITION_BUT_RIGHT, POSITION_MID, POSITION_MID_LEFT, POSITION_MID_RIGHT, POSITION_TOP, POSITION_TOP_LEFT, POSITION_TOP_RIGHT, SHAPE_CIRCLE, SHAPE_OVAL, SHAPE_RECTANGLEvoid plot(Graphics2D g)
void calibrate(Graphics2D g)
Point getConnectionPoint(int position, boolean checkDisplacement)
void paintConnectorOn(int position,
Graphics2D g)
boolean hitPoint(Point p)
String getId()
void setPosition(Point p)
void setRelativePosition(Point p)
void startDragForPosition(Point p)
void setAutoExpand(boolean expand)
Rectangle2D getBounds()
int getConnectorSize()
boolean equals(EntityPlotter compare)
boolean canConnectFrom()
boolean canConnectTo()
HashMap<String,EntityPlotter> getConnectedEntities()
Vector<EntityConnector> getConnections()
EntityConnector getConnectorForEntity(EntityPlotter entity)
void newConnection(EntityConnector newCon)
void removeConnection(EntityConnector delCon)
void setConnectingState(boolean connecting)
String dumpLayoutInfo()
String dumpGUIConfig()
void adjustToLayoutInfo(String info)
void adjustToGUIConfigInfo(String info)
void setBGImageTransperancy(float newValue)
void setUserObject(Object userObject)
Object getUserObject()
void setContents(String text)
String getContents()
void setTitle(String title)
String getTitle()
Color getConnectorColor()
int getWidth()
void setWidth(int width)
int getHeight()
void setHeight(int height)
int getX()
void setX(int newX)
int getY()
void setY(int newY)
int getContentsHorizontalAlignment()
void setContentsHorizontalAlignment(int contentsAlignment)
int getContentsVerticalAlignment()
void setContentsVerticalAlignment(int contentsAlignment)
int getTitleAlignment()
void setTitleAlignment(int titleAlignment)
void setType(int entityType)
int getType()
void setDraggable(boolean draggable)
boolean isDraggable()
void highlight(boolean highlight)
boolean isHighlighted()
void setSelected(boolean selected)
boolean isSelected()
void setVisible(boolean visible)
boolean isVisible()
void setShowTitle(boolean visible)
boolean isShowTitle()
boolean isDropShadow()
void setDropShadow(boolean dropShadow)
boolean isDropReflection()
void setDropReflection(boolean dropReflection)
void setTitleDarkColor(Color titleDarkColor)
Color getTitleDarkColor()
void setTitleLightColor(Color titleLightColor)
Color getTitleLightColor()
Color getTitleFontColor()
void setTitleFontColor(Color titleFontColor)
Color getContentFontColor()
void setContentFontColor(Color contentFontColor)
Color getContentBackground()
void setContentBackground(Color contentBackground)
Font getTitleFont()
void setTitleFont(Font titleFont)
Font getContentsFont()
void setContentsFont(Font contentsFont)
float getEntityTransperancy()
void setEntityTransperancy(float entityTransperancy)
boolean isTransperant()
void setTransperant(boolean setTransperant)
Copyright © 2019 com.github.mfjamil. All rights reserved.