| org.netbeans.modules.sql.framework.ui.graph.impl.BasicText
BasicText | public class BasicText extends JGoText (Code) | | author: Ritesh Adval version: $Revision$ |
ORIGINAL_TEXT | final public static String ORIGINAL_TEXT(Code) | | ORIGINAL TEXT Property
|
BasicText | public BasicText(String text)(Code) | | create a new instance of text area
Parameters: text - text |
addPropertyChangeListener | public void addPropertyChangeListener(PropertyChangeListener l)(Code) | | add a property change listener
Parameters: l - listener |
doEndEdit | public void doEndEdit()(Code) | | |
doStartEdit | public void doStartEdit(JGoView view, Point vc)(Code) | | Programmatically start the editing of the text for the user. This will cause a
JTextComponent to appear.
This is responsible for starting a transaction.
Parameters: view - the view in which the user will be editing Parameters: vc - the view coordinates where the user may have clicked |
doUncapturedMouseMove | public boolean doUncapturedMouseMove(int flags, Point dc, Point vc, JGoView view)(Code) | | Change the cursor at the port
Parameters: flags - |
firePropertyChangeEvent | protected synchronized void firePropertyChangeEvent(String propertyName, Object oldValue, Object newValue)(Code) | | |
getMaximumWidth | public int getMaximumWidth()(Code) | | |
getMinimumWidth | public int getMinimumWidth()(Code) | | get the minimum width
minimum width |
getOriginalText | public String getOriginalText()(Code) | | get the original text. This text area modifies the text by adding ... so if we
expand the text area we should see the full length text
original text |
paint | public void paint(java.awt.Graphics2D g, JGoView view)(Code) | | paint this area
Parameters: g - Graphics2D Parameters: view - view |
removePropertyChangeListener | public void removePropertyChangeListener(PropertyChangeListener l)(Code) | | remove a property change listener
Parameters: l - listener |
setBackgroundColor | public void setBackgroundColor(Color c)(Code) | | |
setOriginalText | public void setOriginalText(String text)(Code) | | set the original text. Original text is something that will be shown if this text
area has enough space to show all of it
Parameters: text - text |
setShowDot | public void setShowDot(boolean show)(Code) | | set the flag so that this text are will calculate for ...
Parameters: show - whether a calculation for ... is to be done |
|
|