本文整理匯總了Java中com.intellij.uiDesigner.designSurface.FeedbackLayer.putFeedback方法的典型用法代碼示例。如果您正苦於以下問題:Java FeedbackLayer.putFeedback方法的具體用法?Java FeedbackLayer.putFeedback怎麽用?Java FeedbackLayer.putFeedback使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類com.intellij.uiDesigner.designSurface.FeedbackLayer
的用法示例。
在下文中一共展示了FeedbackLayer.putFeedback方法的3個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: placeFeedback
import com.intellij.uiDesigner.designSurface.FeedbackLayer; //導入方法依賴的package包/類
public void placeFeedback(FeedbackLayer feedbackLayer, ComponentDragObject dragObject) {
Rectangle rc = myContainer.getBounds();
feedbackLayer.putFeedback(myContainer.getParent().getDelegee(), rc, null);
}
示例2: placeFeedback
import com.intellij.uiDesigner.designSurface.FeedbackLayer; //導入方法依賴的package包/類
public void placeFeedback(FeedbackLayer feedbackLayer, ComponentDragObject dragObject) {
Dimension initialSize = dragObject.getInitialSize(myContainer);
feedbackLayer.putFeedback(myContainer.getDelegee(), getFeedbackRect(myQuadrant, initialSize),
myContainer.getDisplayName() + " (" + myQuadrant.toLowerCase() + ")");
}
示例3: placeFeedback
import com.intellij.uiDesigner.designSurface.FeedbackLayer; //導入方法依賴的package包/類
public void placeFeedback(FeedbackLayer feedbackLayer, ComponentDragObject dragObject) {
feedbackLayer.putFeedback(getDelegee(), new Rectangle(0, 0, getWidth(), getHeight()), getDisplayName());
}